Note:
Data privacy and authorization
Before you connect, it's important to understand what this means for your data.
By connecting your AI tool to the MailerSend MCP server, you are granting the AI tool permission to access and manage your MailerSend data (like email activity, API tokens, recipient data, and domain settings) on your behalf.
MailerSend does not send any of your data to an AI tool. You are in full control. This connection simply enables the AI tool you choose to communicate with your MailerSend account when you give it a command.
In our codebase, add a sendPasswordResetEmail(user, token) function in services/email that sends the password reset template through the MailerSend SDK. Read the API key from env and handle API errors cleanly
Set up delivery tracking for our transactional emails. Create a MailerSend webhook for sent, delivered, soft-bounced, hard-bounced, and spam-complaint events that points to https://api.example.com/webhooks/mailersend. Then add the handler to our app: verify the webhook signature with the signing secret, store each event in a new email_events table (write the migration), and set a email_undeliverable flag on the user after a hard bounce or spam complaint. Add tests that use sample payloads for each event type
A user, jane@example.com, says she requested a password reset 3 times today and got nothing. Use MailerSend to find every message sent to her today and its activity. Check whether she's on the blocklist, hard bounce, spam complaint, unsubscribe, or on-hold list. Then look at our reset code path and logs to see whether we're even calling the send. Tell me where the chain breaks and suggest a fix
Add two-factor verification at signup. Generate a 6-digit code, send it by email with a new MailerSend template and, if the user gave a phone number, by SMS or WhatsApp from our MailerSend number. Codes expire after 10 minutes and are rate-limited to 3 sends per hour per user. Show me the code changes, then send a test of both to me
Pull the DMARC aggregated report for myapp.com and tell me which sources are failing alignment
Add mail.example.com as a sending domain, show me the DNS records, and write them into our Terraform config