Skip to main content

Changelog

Follow new updates and improvements to Mailtrap.

Mailtrap Community

Mailtrap now has a dedicated community where you can connect with other Mailtrap users and the Mailtrap team, share how you're using the product, troubleshoot together, and help shape what we build next.

What you'll find there:

  • Q&A and troubleshooting – Ask setup, configuration, or deliverability questions and get answers from other users and the Mailtrap team.

  • Best practices and tips – See how other teams structure sandboxes, organize projects, handle deliverability, integrate Mailtrap into their stack, and more.

  • Share what you're building – Show off what you've built with Mailtrap, whether it's custom integrations or internal tooling, we're eager to see your builds!

  • Talk to the Mailtrap team – Mailtrap team weigh in on threads, so your feedback or comments don't just disappear into a queue.

Be our guest and join the conversation at community.mailtrap.io! 

Email Sandbox for Salesforce

Mailtrap Email Sandbox is now available on Salesforce AgentExchange. Turn on Testing Mode, and every email your org generates lands in a Mailtrap sandbox instead of Contacts' or Leads' inboxes. No more fake email addresses to create and clean up, and no chance a test reaches a live customer.

How it works: Install the package from AgentExchange, connect it to your Mailtrap account with an API token, and pick the sandbox you want emails to land in. Flip Testing Mode on, and your org's outbound emails are diverted to Email Sandbox. 

What you can do with it:

  • Test without sending to a real person – Everything is diverted to your Mailtrap sandbox, so you can stop hunting for a Contact record that isn't a real customer.

  • Test against real production data – Sandboxes can be created as mirrors of prod instances, so things like Merge fields resolve against real records.

  • See the whole email – Salesforce's own Email Log Files give you metadata only, with no body and no rendering. With Mailtrap's Email Sandbox, you can inspect HTML and plain text, headers, attachments, and spam score.

  • Iterate as fast as you want – Send, check, tweak, resend. Pricing is per user rather than per email, so ten test sends and ten thousand cost the same.

  • Two fields to configure – Once you're done with the initial setup, your users can simply toggle Email Sandbox on with two clicks.

Note: Works with Sales Cloud, Service Cloud, Experience Cloud, and platform email, including Flow, Apex, and templates. It does not cover Marketing Cloud.

For a step-by-step guide on how to install the add-on, read the official Knowledge Base article.

API Endpoints for Email Campaigns

We've expanded the Email Campaigns API with two new endpoints, so you can list your campaigns and pull performance data programmatically instead of checking the dashboard.

Endpoints:

  • List email campaigns – GET /api/email_campaigns returns a paginated list of your account's campaigns, newest first. Supports search to filter by campaign name, plus token/per_page for pagination (up to 100 per page).

  • Get campaign statistics – GET /api/email_campaigns/{email_campaign_id}/stats returns aggregated performance metrics for a single campaign: counts and rates for deliveries, opens, clicks, bounces, spam complaints, and unsubscriptions. By default, it covers the full period since the campaign was last started — narrow it with the optional start_date and end_date query parameters.

A few things worth knowing:

  • Stats are aggregated asynchronously, so numbers for a just-sent campaign may lag slightly behind real-time.

  • Both endpoints are rate-limited to 150 requests per 10 seconds per API token.

For full request/response details, see the Email Campaigns and Campaign Stats API docs.

Earlier updates