Mailtrap
Mailtrap email platform: send transactional, bulk and batch emails, test them in Email Sandbox (messages, spam and HTML reports), manage sending domains, suppressions, templates, Email Marketing contacts, lists and campaigns, and read sending stats and email logs.
7 Tage gratis · keine Kreditkarte · EU-Hosting
Frag Mailtrap alles
Teste einen echten Prompt gegen Mailtrap via AnythingMCP — Claude ruft die Tools auf, liefert die Antwort. Drück Enter auf deine eigene Nachricht, um auf Cloud zu installieren.
Mailtrap auf Cloud installierenClaude ist KI und kann Fehler machen. Bitte Antworten gegenprüfen.
Setup in 2 Minuten
- 1Free Trial auf cloud.anythingmcp.com starten.
- 2Im Connector-Store auf Mailtrap klicken. Credentials einfügen.
- 3MCP-API-Key generieren und KI-Client auf die MCP-URL zeigen.
Anleitungen für Mailtrap
Schritt-für-Schritt-Setup für die wichtigsten KI-Clients.
Mailtrap einrichten
Direkt aus der Connector-Definition: wo du die Credentials findest, welche Rechte sie brauchen und mit welcher API dieser Adapter spricht. Vom Connector-Autor auf Englisch bereitgestellt.
Mailtrap
This connector uses the Mailtrap API for one Mailtrap account: sending transactional and bulk email (Email API), testing email in Email Sandbox, sending domains, suppressions, sending stats and email logs, email templates, and Email Marketing contacts, lists and campaigns. Mailtrap serves these areas from different hosts and the connector picks the right one per tool: https://mailtrap.io for management and reports, https://send.api.mailtrap.io for transactional sending, https://bulk.api.mailtrap.io for the Bulk stream and https://sandbox.api.mailtrap.io for test sends into a sandbox.
Setup (3 minutes)
- In Mailtrap open Settings, API Tokens (https://mailtrap.io/api-tokens) and create a token. Give it access to the sending domains (for sending, stats, logs and suppressions), the sandboxes or projects (for Email Sandbox) and, if you use it, Email Marketing. Admin access is needed to change suppressions.
- Paste it into
MAILTRAP_API_TOKEN. It is sent asAuthorization: Bearer <token>and does not expire until you reset it. - Run
mailtrap_list_accountsto check the token. A token belongs to one account and every call works on that account, so no account id is needed. - Live sending needs a verified sending domain (
mailtrap_list_sending_domains); Email Sandbox works without one.
Sending email
mailtrap_send_emailsends one transactional email,mailtrap_send_batch_emailsup to 500 different ones in one call. Marketing and other bulk mail belongs on the Bulk stream:mailtrap_send_bulk_emailandmailtrap_send_bulk_batch_emails.- Content is
text,htmlor both, or a stored template: passtemplate_uuid(theuuidfrommailtrap_list_templates, not the numeric id) withtemplate_variables, and leavesubject,text,htmlandcategoryout. from_emailmust be on a verified sending domain.to,ccandbccare lists of{"email", "name"}. Attachments are Base64 incontent.- Sending is real. Before any send, batch, bulk send or campaign start, show the user the recipients, sender, subject and content and wait for a clear yes. To try a message out first, send it with
mailtrap_send_sandbox_emailand look at it in the sandbox. - A send answers
message_ids, one per recipient; follow them withmailtrap_get_email_log. Batch calls answer 200 even when single messages fail: checksuccessanderrorsof each entry inresponses.
Email Sandbox (testing)
- Find sandboxes with
mailtrap_list_sandboxesor by project withmailtrap_list_sandbox_projects;mailtrap_get_sandboxshows one,mailtrap_create_sandboxadds one to a project. - Send test mail with
mailtrap_send_sandbox_email: it is caught in the sandbox and never delivered. - Inspect:
mailtrap_list_sandbox_messages,mailtrap_get_sandbox_message,mailtrap_get_sandbox_message_body(txt, html, htmlsource or raw),mailtrap_get_sandbox_message_headers,mailtrap_list_sandbox_attachments,mailtrap_get_sandbox_spam_report(SpamAssassin score) andmailtrap_get_sandbox_html_analysis(email client support). mailtrap_clean_sandboxdeletes every message in a sandbox; confirm first.
Domains and deliverability
mailtrap_list_sending_domains,mailtrap_get_sending_domain(DNS records and their verification),mailtrap_create_sending_domain,mailtrap_send_domain_setup_instructions(emails the DNS steps to whoever manages DNS).- Suppressed addresses get no mail:
mailtrap_list_suppressions,mailtrap_create_suppression,mailtrap_delete_suppression(only when the recipient asked for it or the bounce is resolved). - What happened to an email:
mailtrap_list_email_logs(filter by recipient, status, events, category, sent time), thenmailtrap_get_email_logfor its delivery, open, click and bounce events. - Totals:
mailtrap_get_sending_statsfor a date range,mailtrap_get_sending_stats_groupedsplit by domain, category, mailbox provider or day. Usage against the plan:mailtrap_get_billing_usage.
Templates: mailtrap_list_templates, mailtrap_get_template, mailtrap_create_template, mailtrap_update_template. Variables use Handlebars, e.g. {{user_name}}.
Email Marketing
- Contacts:
mailtrap_list_contacts,mailtrap_get_contactandmailtrap_update_contact(by id or email),mailtrap_create_contact,mailtrap_delete_contact, custom events withmailtrap_create_contact_event. Many contacts at once:mailtrap_import_contacts, thenmailtrap_get_contact_importuntil it is finished. - Lists and fields:
mailtrap_list_contact_lists,mailtrap_create_contact_list,mailtrap_list_contact_fields(the merge tags used as keys infields). - Campaigns:
mailtrap_list_campaigns,mailtrap_get_campaign,mailtrap_get_campaign_stats. Build one withmailtrap_create_campaign(always a draft) andmailtrap_update_campaign, thenmailtrap_schedule_campaignormailtrap_start_campaign;mailtrap_cancel_campaignreturns a scheduled campaign to draft. Scheduling and starting email the whole audience: confirm first. - Add only contacts who agreed to receive email. To stop mailing someone, unsubscribe them (
unsubscribed: true) rather than deleting them.
Reading the answers: ids of domains, sandboxes, messages, templates, lists and campaigns are integers; contacts, suppressions and email log messages use UUIDs. Times are ISO 8601 in UTC. Stats rates are fractions (0.25 = 25%); stats dates are YYYY-MM-DD. Sandbox and template lists leave out SMTP credentials and bodies.
Paging
- Contacts: pass
pagination.next_tokenastoken; stop when it is null. Campaigns:tokenis a page number taken frompagination.next_token. - Email logs: pass
next_page_cursorassearch_after. Suppressions: pass theidof the last item aslast_id(1000 per page). Sandbox messages: 30 per page, usepageor the last message id aslast_id.
Limits: 150 requests per 10 seconds per token; Contacts 200 per minute, Stats and Suppressions 10 per minute, listing email logs 60 per minute per account. A send takes up to 1000 recipients, a batch up to 500 messages and 50 MB.
Errors: 401 Incorrect API token (wrong token, or no access to that domain or sandbox), 403 missing permission, 404 unknown id, 422 invalid input with the reason in errors (e.g. sender not on a verified domain, campaign not in draft), 429 rate limit.
Switched off at install: mailtrap_delete_suppression, mailtrap_clean_sandbox and mailtrap_delete_contact; they cannot be undone, so an admin switches them on when the team needs them.
Deine KI ist zwei Klicks von Mailtrap entfernt.
Connector installieren, Credentials einfügen, KI fragen. 7 Tage gratis, keine Kreditkarte.