Magic API Email
Magic API Email replaces the default WordPress email system (wp_mail()) with a direct API connection to your chosen transactional email provider. No SMTP configuration needed — just paste your API key and you’re ready to go.
Supported Providers:
- Resend — Modern email API for developers
- Mailgun — Reliable transactional email
- Postmark — Fast, deliverable transactional email
- Mailtrap — Email delivery platform with sandbox testing
- Plunk — Email API for developers
Features:
- Per-provider settings — API key, From Email, and From Name are stored independently for each provider. Switching providers never overwrites another provider’s credentials.
- Test email — Send a test email directly from the settings page to verify your configuration.
- Secure — All inputs are sanitized and validated. API keys are stored as password fields.
- Lightweight — No dependencies, no bloat. Three focused class files.
- Developer-friendly — Falls back to default
wp_mail()if no API key is configured.
External services
This plugin acts as a bridge between your WordPress site and your chosen transactional email provider. By design, instead of sending emails via standard wp_mail(), this plugin sends the content of your outgoing emails via an HTTPS API request to the provider you select in the settings.
Depending on your configuration, the plugin connects to one of the following APIs: * Resend (api.resend.com) – Terms of Service | Privacy Policy * Mailgun (api.mailgun.net) – Terms of Service | Privacy Policy * Postmark (api.postmarkapp.com) – Terms of Service | Privacy Policy * Mailtrap (api.mailtrap.io) – Terms of Service | Privacy Policy * Plunk (api.useplunk.com) – Terms of Service | Privacy Policy
What data is sent and when? When any plugin or WordPress core feature attempts to send an email (e.g. password resets, contact form submissions, order confirmations), the data (including the recipient’s email address, sender information, email subject, and email body content) is transmitted securely to your configured provider in order to deliver the email. No data is sent if you have not configured an API key for a provider.