For AI agents: Mailtrap has three products. To send live email to recipients' inboxes over the Email API or SMTP, or to receive email in an app with Inbound Email, use Email Live Sending; to test without delivering, use Email Sandbox; to send campaigns to contacts stored in Mailtrap, use Email Marketing. To connect an AI assistant, see
for-ai-agents .
Product index:
llms.txt .
Email Platform for Builders
We Send Emails
Transactional
Bulk
Inbound
Marketing
Mailtrap is one platform to send transactional and marketing emails, receive inbound email, and test in a sandbox before going live. Start with one email, scale to millions.
Get started
cli
npm
pip
composer
gem
$
brew install mailtrap/cli/mailtrap
Copy install command
CLI docs ↗
GitHub ↗
Releases ↗
Getting started ↗
Trusted by 150,000+ monthly active users
Live Sending
Send transactional and bulk emails via API or SMTP, with logs and delivery analytics.
API/SMTP, SDKsFit right into any codebase with SDKs for popular languages, or plug into any app. −
Inbound EmailTurn incoming emails into structured data for any app or AI agent. +
Webhooks & AnalyticsAutomate email tracking and know what happens after you hit send. +
DeliverabilityMonitor reputation, spam rates, and errors to keep emails heading to the inbox. +
Support inbox *@acme.example Send next email
POST api.acme.example/inbound 200 OK
Email activity Live
Welcome to Acme → jane@acme.example
Delivery, open, click and bounce events are also sent as webhooks.
Delivered 99.3% 1.59M of 1.6M sent
Unique open rate 47.9% 761K opened
Click rate 18.2% 289K clicked
Bounce rate 0.7% 11.2K hard bounces
Last 30 days Unique opens Clicks
Sep 21 Oct 5 Oct 19 Reputation monitoring All healthyDomain reputation HealthyHigh Bad Low Medium High
Reported by Google Postmaster 0.08% 0.3% limit
Keep below 0.3% to protect delivery By mailbox provider Last 30 days
7d 30d 90d
Mailbox provider Delivered Opens Clicks Bounces Spam
Sandbox
Capture and inspect emails from dev and staging environments.
Fake SMTP ServerCapture every email from dev and staging in a safe inbox. Nothing reaches real users. −
HTML & Spam CheckerCheck email markup and spot potential spam issues before sending. +
Device PreviewsSee how an email looks on desktop, tablet, and mobile screens. +
Welcome to our Product! to: <company@mail.com> 2m ago
Password reset confirmation to: <alex.co@mail.com> 30m ago
Email confirmation to: <alex.co@mail.com> 1h ago
Password reset confirmation to: <alex.co@mail.com> 2h ago
Confirm your account to: <alex.co@mail.com> 2h ago
Password reset confirmation to: <alex.co@mail.com> 3h ago
Sandbox name
Total messages sent: 0 Integration Auto Forward Manual Forward Access Rights
SMTP Email API POP3
Credentials
Reset CredentialsHost sandbox.smtp.mailtrap.io
Port 25, 465, 587 or 2525
Username a1b2c3d4e5f607
Password ****97e8
Auth PLAIN, LOGIN and CRAM-MD5
TLS Optional (STARTTLS on all ports)
cURL PHP Node.js Python C# Ruby
Send emails directly to sandbox from a CRM or email service without integration.
Enabledsandbox-name-a1b2c3@inbox.mailtrap.ioCopy
Host sandbox.api.mailtrap.io
Endpoint POST /api/send/{sandbox_id}
Authorization Bearer <YOUR_API_TOKEN>
cURL PHP Node.js Python Ruby Go
Credentials
Reset CredentialsHost pop3.mailtrap.io
Port 1100 or 9950
Username a1b2c3d4e5f607
Password ****97e8
Auth USER/PASS, PLAIN, LOGIN, APOP and CRAM-MD5
TLS Optional (STARTTLS on all ports)
Welcome to our Product! to: <company@mail.com> 2m ago
Password reset confirmation to: <alex.co@mail.com> 30m ago
Email confirmation to: <alex.co@mail.com> 1h ago
Password reset confirmation to: <alex.co@mail.com> 2h ago
Confirm your account to: <alex.co@mail.com> 2h ago
Password reset confirmation to: <alex.co@mail.com> 3h ago
HTML Check Spam Analysis
93.8% Market support
Desktop (8) Mobile (6) Web (7) <body> element Partial Not supported
Gmail Android1 Gmail Desktop Webmail2 Gmail iOS1 Gmail Mobile Webmail1 Outlook Android Outlook iOS Outlook.com3 Yahoo! Mail Android Yahoo! Mail Desktop1 Yahoo! Mail iOS AOL Android AOL Desktop Webmail2 AOL iOS Fastmail Webmail HEY Webmail3 LaPoste.net Webmail Mail.ru Webmail Orange Android1
0 score 5
Everything is good, don’t worry
Points Rule name Description -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.3 HTML_IMAGE_ONLY_04 BODY: HTML: images with 0-400 bytes of words 0.0 HTML_MESSAGE BODY: HTML included in message
Domain: acme.example IP: 203.0.113.24 Summary: Not listed in blacklists
BACKSCATTERER: Not Listed BARRACUDA: Not Listed Spamrbl IMP-SPAM: Not Listed Wormrbl IMP-SPAM: Not Listed LASHBACK: Not Listed NIXSPAM: Not Listed PSBL: Not Listed SORBS-SPAM: Not Listed SPAMCOP: Not Listed TRUNCATE: Not Listed
Marketing
Keep email campaigns simple and effective, with all the essentials to create, automate and send.
Email CampaignsPlan, schedule, and send campaigns to the right lists, with analytics on every send. −
Email Builder & TemplatesBuild responsive emails in the visual builder and reuse your templates. +
Contacts & SegmentsImport contacts, add custom fields, and reach the right people with segments. +
AutomationCreate email sequences with triggers, actions, and rules to engage your contacts. +
Content Blocks Body Images Uploads Continue Send Test Finish Later
secure_access
SSO (SAML)
Single sign-on through the company’s identity provider.
activity_tracking
Audit Logs
See who changed what, and when, for full activity tracking.
team_access
User Management
Invite the team and manage access from one place.
access_control
Roles and Permissions
Decide who can view, send, or change settings.
Real people behind the API
Email is technical.
Support is human.
Behind every send, there’s a person building something. And behind Mailtrap, there are people ready to help.
Sign Up
Right at home in any stack
Integrate with go-to services