Send an email notification
Sends an email through the Mosaia platform's notification service. Supports both plain text and HTML email formats.
Email notification data
Promise resolving to notification response
// Send plain text email
const result = await notifications.sendEmail({
to: 'user@example.com',
subject: 'Password Reset',
text: 'Your password reset code is: 123456'
});
Notifications API client for the Mosaia SDK
Provides email notification functionality for sending emails through the Mosaia platform. This is useful for sending transactional emails, notifications, and other communications.
Example