Send an email to a single recipient, audience, or tag. Single emails are sent immediately. Audience/tag sends are queued as batch jobs. Requires API key with EMAIL_SEND.
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Type of recipient. 'email' for single send, 'audience' or 'segment' for segment-based batch sends, 'tag' for tag-based batch sends.
email, audience, segment, tag Sender email address (must be from a verified domain)
Sender display name
React Email TSX template string with a default export. Example: import { Html, Body, Text } from '@react-email/components'; export default function Email() { return
Required for audience/segment/tag sends. The segment or tag ID.
Required for single email sends.
Template variables for personalization
ses, resend, sendgrid, mailgun, migma