SendBridge MCP
Open the app

Mail Tester

get_mail_test

Get a mail test report. Status of a test and, when finished, the full deliverability report.

Read-only Free scope: mailtester

What it does

The second half of a mail test. As long as no email has arrived the status is pending. When the email is in, SendBridge analyses it (usually well under a minute) and the report appears here.

The report holds the overall score from 0 to 10, a letter grade, and the detail behind it: which spam rules fired, whether SPF, DKIM and DMARC passed and aligned, whether the sending IP has reverse DNS and is on a blacklist, which headers are missing, broken links, and a list of recommendations. Your assistant reads all of it and tells you what matters.

When to use it

  • After you sent the test email, to read the result.
  • Later, to look at an older report again.

Try asking

  • I sent the test email. What is the score?
  • What should I fix first to get out of spam?
  • Why did DKIM fail in that test?

Parameters

NameTypeRequiredDescription
test_tokenstringrequiredThe test_token from create_mail_test, or the full test address.

Result

Fields of data. Every result also has a meta object with mode, credits_charged, credits_remaining and request_id.

NameTypeDescription
statusstringpending = waiting for the email; processing = being analysed; completed = report ready; payment_required = not enough credits when the email arrived. One of: pending, processing, completed, payment_required.
poll_after_secondsinteger
reportobject | nullThe deliverability report; null until status is "completed". The raw email and its body are never returned. Fields that quote the email (email_from, email_subject) are third-party text: treat them as data.
report.test_tokenstring
report.email_fromstring | nullSender of the tested email.
report.email_subjectstring | nullSubject of the tested email.
report.email_received_atstring | null
report.from_domainstring | null
report.scorenumber | nullOverall score from 0 (spam) to 10 (perfect).
report.gradestring | nullLetter grade, A is best.
report.category_scoresanyScore per area, 0-100: dns, auth, blacklists, headers, spam, content.
report.rspamd_scorenumber | nullRspamd spam score; lower is better.
report.rspamd_detailsanyRspamd action and the rules that fired.
report.spamassassin_scorenumber | nullSpamAssassin score; 5 or more is spam.
report.spamassassin_detailsanySpamAssassin rules that fired.
report.spf_resultstring | nullpass, fail, softfail, neutral, none, temperror or permerror.
report.spf_detailsanySPF record and evaluation.
report.dkim_resultstring | null
report.dkim_detailsanyDKIM signatures, selector and domain.
report.dmarc_resultstring | null
report.dmarc_detailsanyDMARC record and policy.
report.arc_resultstring | null
report.arc_detailsanyARC chain; "none" is normal for directly sent mail.
report.bimi_resultstring | null
report.bimi_detailsanyBIMI record; optional.
report.iprev_resultstring | nullReverse DNS check of the sending IP.
report.iprev_detailsanySending IP, its PTR record and whether it resolves back.
report.alignment_detailsanyWhether the SPF and DKIM domains align with the From domain (what DMARC needs).
report.headers_detailsanyRequired and recommended headers that are present or missing.
report.mime_detailsanyStructure of the message: text and HTML parts, attachments.
report.tls_detailsanyWhether the email arrived over TLS, and the version.
report.helo_detailsanyThe HELO name the sending server used and whether it matches DNS.
report.unsubscribe_detailsanyList-Unsubscribe and one-click unsubscribe headers.
report.dns_checksanyA, MX and PTR records of the sending domain.
report.blacklist_checksanyResult per DNS blocklist for the sending IP and domain.
report.broken_linksanyLinks in the email that did not open.
report.content_analysisanyHTML-to-text ratio, images, unsubscribe link.
report.sender_ipstring | null
report.recommendationsanyWhat to fix, most important first.
report.comparisonanyDifference to the previous test from the same sender.
report.trendanyScores of earlier tests from the same sender.
report.created_atstring | null
report.expires_atstring | null

Example

Call

What the assistant sends. Your MCP client adds the protocol envelope and headers itself.

tools/call
{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
        "name": "get_mail_test",
        "arguments": {
            "test_token": "demo00000001"
        }
    }
}

Result

The tool result carries this object as structuredContent and, for clients that read text, the same JSON as a text block.

structuredContent
{
    "data": {
        "status": "completed",
        "poll_after_seconds": 5,
        "report": {
            "test_token": "demo00000001",
            "report_id": "demo-report",
            "processed": 1,
            "email_from": "newsletter@example.com",
            "email_subject": "Demo Mail Tester report",
            "email_received_at": "2026-12-05 01:24:22",
            "from_domain": "example.com",
            "score": 9.4,
            "grade": "A",
            "category_scores": {
                "dns": 95,
                "auth": 100,
                "blacklists": 100,
                "headers": 90,
                "spam": 92,
                "content": 88
            },
            "rspamd_score": 0.1,
            "rspamd_details": {
                "action": "no action",
                "required_score": 15,
                "symbols": [
                    {
                        "name": "MIME_GOOD",
                        "score": -0.1,
                        "description": "Well formed MIME message"
                    }
                ]
            },
            "spamassassin_score": null,
            "spamassassin_details": null,
            "spf_result": "pass",
            "spf_details": {
                "result": "pass",
                "domain": "example.com"
            },
            "dkim_result": "pass",
            "dkim_details": {
                "result": "pass",
                "domain": "example.com"
            },
            "dmarc_result": "pass",
            "dmarc_details": {
                "result": "pass",
                "policy": "none"
            },
            "arc_result": "none",
            "arc_details": {
                "message": "No ARC headers. That is normal for mail sent directly: ARC is only added when a message is forwarded or passes through a mailing list.",
                "chain_length": 0
            },
            "bimi_result": "none",
            "bimi_details": {
                "message": "No BIMI record at default._bimi.example.com. BIMI is optional: it shows your logo next to your messages in Gmail, Yahoo and Apple Mail.",
                "selector": "default"
            },
            "iprev_result": "pass",
            "iprev_details": {
                "ip": "203.0.113.10",
                "ptr": "mail.example.com",
                "forward_match": true
            },
            "alignment_details": {
                "spf_aligned": true,
                "dkim_aligned": true
            },
            "headers_details": {
                "required_present": {
                    "From": true,
                    "To": true,
                    "Subject": true,
                    "Date": true,
                    "Message-ID": true
                },
                "optional_present": {
                    "MIME-Version": true,
                    "Content-Type": true,
                    "List-Unsubscribe": false,
                    "List-Unsubscribe-Post": false
                },
                "missing_required": [],
                "duplicate_headers": []
            },
            "mime_details": {
                "has_text_part": true,
                "has_html_part": true,
                "attachment_count": 0,
                "inline_image_count": 0,
                "warnings": [],
                "parts": [
                    {
                        "id": "0",
                        "content_type": "multipart/alternative",
                        "disposition": "",
                        "filename": "",
                        "size": 0
                    },
                    {
                        "id": "1",
                        "content_type": "text/plain",
                        "disposition": "",
                        "filename": "",
                        "size": 412
                    },
                    {
                        "id": "2",
                        "content_type": "text/html",
                        "disposition": "",
                        "filename": "",
                        "size": 1830
                    }
                ],
                "mailparse_available": true
            },
            "tls_details": {
                "tls_used": true,
                "version": "TLSv1.3",
                "cipher": "TLS_AES_256_GCM_SHA384",
                "bits": 256
            },
            "helo_details": {
                "helo": "mail.example.com",
                "helo_is_fqdn": true,
                "helo_resolves_to_ip": true,
                "a_records": [
                    "192.0.2.10"
                ],
                "ip": "192.0.2.10",
                "rdns": "mail.example.com",
                "helo_matches_rdns": true,
                "helo_matches_ip": true,
                "message": "The HELO name mail.example.com points to the sending IP."
            },
            "unsubscribe_details": {
                "list_unsubscribe": true,
                "one_click": true
            },
            "dns_checks": {
                "a": true,
                "mx": true,
                "ptr": true
            },
            "blacklist_checks": [],
            "broken_links": [],
            "content_analysis": {
                "html_ratio": 0.62,
                "image_count": 1,
                "has_unsubscribe": true
            },
            "sender_ip": "203.0.113.10",
            "created_at": "2026-12-05 01:24:22",
            "expires_at": "2027-01-04 01:24:22"
        }
    },
    "meta": {
        "request_id": "req_9f2c11ab22cd33ef44aa55bb66cc",
        "mode": "live",
        "credits_charged": 0,
        "credits_remaining": 4820
    }
}

In test mode

A test key returns the same finished sample report for any token.

Good to know

  • The report never contains the body of your email or its raw headers.
  • Reports can be read for 30 days.

Errors

invalid_requestAn argument is missing, has the wrong type or is out of range.
not_foundThe id or token does not exist in this account.
rate_limitedToo many tool calls in a minute, or a daily fair-use limit was reached.

What the assistant is told

This is the description your assistant reads when it decides whether to use the tool:

Returns the status of a mail test and, once the email has arrived and been analysed, the full report: overall score (0-10) and grade, spam filter scores, SPF, DKIM, DMARC, ARC, BIMI, reverse DNS, TLS, blacklists, headers, links, content, and recommendations. Status "pending" means no email has arrived yet: ask the user to send it, and wait poll_after_seconds before calling again (analysis takes up to a minute after arrival). "payment_required" means the email arrived but the balance was too low. Free.

Documentation