By default, Modelence sends transactional email through its built-in managed provider — no setup required. Configure a custom provider only when you need:Documentation Index
Fetch the complete documentation index at: https://docs.modelence.com/llms.txt
Use this file to discover all available pages before exploring further.
- A custom sender domain / full DKIM control
- Attachments,
cc/bcc, or custom email headers - A specific deliverability vendor (Resend, SES in your own AWS account, your own SMTP relay)
email.provider on startApp overrides the managed provider. If you omit provider, Modelence keeps using the managed email service.
Supported Providers
- Resend — modern email API service
- Amazon SES — AWS Simple Email Service
- SMTP — any SMTP-compatible email service
1. Install a provider package
2. Configure credentials
Option A: Cloud Configuration (Recommended)
- Go to cloud.modelence.com
- Choose your environment
- Open the Application tab
- Select the Email configuration section
- Choose your provider and enter the required credentials:
- API Key (get it from resend.com/api-keys)
- Region (e.g.,
us-east-1) - Access Key ID
- Secret Access Key
- Host (e.g.,
smtp.gmail.com) - Port (usually
465for secure connections) - Username
- Password
Option B: Local Environment Variables
Useful for local development: For Resend:3. Pass the provider to startApp
cc, bcc, custom headers, and attachments:
Troubleshooting
SMTP connection issues
- Verify your SMTP credentials are correct
- Check that the port is correct (usually 465 for secure connections)
- Ensure your firewall allows outbound connections on the SMTP port
- Some email providers require you to enable “less secure app access” or create an app-specific password
AWS SES sending limits
If you’re in the AWS SES sandbox:- You can only send emails to verified email addresses
- Request production access to send to any email address
- Verify your sending domain or individual email addresses in the AWS Console
Error: “Email provider is not configured”
You’re running locally without a Modelence Cloud connection and haven’t setemail.provider. Either:
- Connect your app to Modelence Cloud to use the built-in managed provider, or
- Configure a provider via
startApp({ email: { provider, ... } }).