Mailtrap
by docs.mailtrap.io
Communication
Added on October 31st, 2026
Checked and working on November 15th, 2026
Visit docs.mailtrap.io →
What it does
Mailtrap is an e-mail platform for developers with two parts. Email Sending is an e-mail API and SMTP service for transactional and bulk e-mails, with delivery tracking and analytics. Email Testing is a sandbox inbox that catches the e-mails your development and staging servers send, so you can check their content, HTML and spam score without reaching real customers. Use the REST API or the SDKs for many languages. Free plan with 4,000 sent e-mails per month (at most 150 per day, one domain) and a testing sandbox with 50 e-mails per month; paid plans for more. An official MCP server (npm package mcp-mailtrap) lets AI agents send e-mails and check the test inbox.
At a glance
- API key
- Needed, free · More APIs with a free key
- Pricing
- Free plan with 4,000 sent e-mails per month (at most 150 per day, one domain) and a testing sandbox with 50 e-mails per month; paid plans for more.
- Formats
- JSON
- Interface
- REST, MCP
- Provider
- docs.mailtrap.io
- Last checked
- Working on November 15th, 2026
More information: https://docs.mailtrap.io/developers
Is this your service? Show that it is listed
Put this badge on your website or in your README; it links to this page. About the badge
Example request
curl
curl 'https://mailtrap.io/api/accounts' \
-H 'Authorization: Bearer YOUR_API_KEY'
JavaScript
const response = await fetch("https://mailtrap.io/api/accounts", {
headers: {
"Authorization": "Bearer YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);
Python
import requests
response = requests.get(
"https://mailtrap.io/api/accounts",
headers={
"Authorization": "Bearer YOUR_API_KEY",
},
timeout=30,
)
print(response.json())
Replace YOUR_API_KEY with your own key.