Messaging
Reach Users EverywhereCommunicate with your users through emails, SMS, and push notifications. All from one unified platform with powerful targeting, scheduling, and analytics.
Reach Users Across Every Channel
Send messages through email, SMS, or push notifications. Choose the right channel for your message and audience - all from one unified messaging platform.
Email Messages
Send customized HTML email messages to your users. Perfect for newsletters, invoices, promotions, and transactional emails with full styling and formatting control.Key Features
Rich HTML email templates
Custom sender name and address
Attachment support
Scheduled delivery
Delivery tracking and analytics
Common Use Cases
Welcome emails
Order confirmations
Marketing campaigns
Password resets
Newsletters
Supported Providers
Mailgun
SendGrid
SMTP
Sending an email message
const message = await nx.messaging.createEmail({
messageId: 'welcome-email',
subject: 'Welcome to Our Platform!',
content: '<h1>Welcome!</h1><p>Thanks for joining us.</p>',
topics: ['new-users'],
// Or target specific users
users: ['user123']
});Connect Your Favorite Providers
Nuvix integrates with industry-leading messaging providers. Choose the services that work best for your needs and switch between them seamlessly.
Email Providers
SMS Providers
Push Notification Providers
Flexible Targeting with Topics & Targets
Deliver messages to individual users or groups. Targets represent ways to reach a user, while topics let you broadcast to many users at once.
Targets
A target is a specific communication channel for a user. Each user can have multiple targets - like two email addresses, a phone number, and multiple devices with your app installed.Target Types
Email AddressesSend to verified email addresses
Phone NumbersSMS to verified phone numbers
Device TokensPush to registered devices
Example: Creating a target
const target = await nx.messaging.createTarget({
targetId: 'unique-id',
userId: 'user123',
providerId: 'mailgun-provider',
identifier: 'user@example.com',
type: 'email'
});Topics
Topics are groups of targets. Create topics for different user segments or interests, then send a single message that reaches all subscribed targets at once.Why Use Topics?
Group targets by topic for mass messaging
Users can subscribe to relevant topics
Permission-based subscription control
Send one message to thousands of users
Example: Sending to a topic
// Create a topic
const topic = await nx.messaging.createTopic({
topicId: 'newsletters',
name: 'Weekly Newsletter',
subscribe: ['any'] // Who can subscribe
});
// Send to all subscribers
await nx.messaging.createEmail({
topics: ['newsletters'],
subject: 'This Week in Tech',
content: '<h1>Latest Updates</h1>...'
});
