Documentation
Build, test, and send emails with confidence using Mailtrap's comprehensive email platform designed for developers and product teams.
Official SDKs
Get started quickly with our official SDKs for your favorite programming language.
Get started in 5 Minutes
Setting up Mailtrap should be the easiest part of your email journey. With clear endpoints, copy-paste-ready examples, and instant authentication, you'll send your first email in minutes — not hours.
No guesswork, no complexity — just your first successful email, fast.
// Send your first email
const { MailtrapClient } = require("mailtrap");
const client = new MailtrapClient({
token: "YOUR_API_TOKEN"
});
await client.send({
from: { email: "[email protected]" },
to: [{ email: "[email protected]" }],
subject: "Hello from Mailtrap!",
text: "Welcome to Mailtrap Email API"
});Quick start guides
Choose your product and get up and running quickly with our step-by-step guides.
Email API/SMTP
Send Production Emails
Deliver transactional emails reliably with our API or SMTP service. Get detailed analytics and ensure high deliverability.
Explore features
Discover the full range of features and capabilities across our email platform.
Guides & integrations
Learn how to integrate Mailtrap with your favorite tools and migrate from other services.
Ready to get started?
Start with a Free plan
Get started with Mailtrap's free plan. No credit card required. Test emails, send up to 4000 emails/m, and explore all features.
Talk to Sales
Need a custom plan or have enterprise requirements? Our team is ready to help you find the perfect solution.
Last updated
Was this helpful?

