Home/Email Deliverability/Testing/Test email landed in spam

Test email landed in spam: what to check before the real send, and what changes when an agent sent it

Five causes to check, from a test that was not sent from your domain to a blocklist, and the fix for each before the real send.

VerifiedBy Kam Low, Co-founder and CTO·Updated

Why a test email lands in spam

You sent yourself a test before the real campaign, and it turned up in the spam folder instead of the inbox. A test email landing in spam means a mailbox provider filtered that one message as junk. It is an early warning about the sender, the domain or the content, caught before the whole list sees it, so check first which address the test actually came from. If an AI agent drafted and sent the test, it tends to read "went to spam" as a reason to resend, rewrite or switch sender. Each of those makes the real send worse.

The quick answer is four checks, in this order:

  1. Which address sent the test. A first test often goes out from a Nitrosend address (the brand subdomain sender), not your domain, so it can send before any DNS records exist. Mail that does not come from your domain is more likely to be filtered.
  2. SPF and DKIM. If the test did come from your domain, both records need to pass.
  3. The content's spam score.
  4. Blocklists. Look the domain up against them.

Hold the campaign until a test lands in the inbox, because a full send that ends up in junk folders does more harm than a late one.

To score a message before sending, see the spam test email and mail tester guides. The email deliverability testing guide covers how the kinds of test fit together.

What sends a test email to spam?

Check these five causes in order. The first one is the quickest to rule out, and the last is the most serious.

The causes of a test email landing in spam, what you see for each, and the first check
CauseWhat you seeFirst check
Not sent from your domainThe from address or headers show a Nitrosend address, not your domainWhich sender identity is active
Domain not authenticatedSPF or DKIM shows fail or none in the message headersDomain verification status
New domain, no historyDomain is verified but was added days agoHow long the domain has been sending
Content trips filtersAuthentication passes, but tests still land in spamSpam score, links and image weight
Domain or IP on a blocklistSpam at every provider, even for plain textA blocklist lookup

What changes when an AI agent sent the test

When a person sees a test in the spam folder, they stop and look. An agent working through a task list treats the same result as an obstacle to get past, and the usual ways it tries to get past it each hide the cause:

  • It resends the same test to "check again". Same sender, domain and content, so the same result.
  • It rewords the copy on its own. A model asked to "make it less spammy" can add urgency, offers or claims nobody wrote.
  • It switches to a personal mailbox to "get through". That test says nothing about the domain the campaign will send from.
  • It does not know where the test landed. The send call reports that the test was sent, not where it landed. Placement is something a person reads in the inbox.

After a spam result, the next step is a review, not another copy of the same test. Send one fresh test only once the cause is fixed. nitro_review_delivery runs a read only review with validation, spam analysis, preflight and previews, and it never approves or sends. The Nitrosend MCP server gives an agent that review step, and the guide to sending email from an LLM covers how a model hands mail to a sending service.

How to fix each cause

Not sent from your domain

Ask an agent to run nitro_get_status, which reports the current sender identity and whether the account is ready to send. If the test went out from a Nitrosend address, add your own sending domain with nitro_manage_domains, publish the records it returns, and run the verify step. Then send the test again with nitro_send_test_message so it comes from the domain the campaign will use. A spam result from a Nitrosend address says little about how your own domain will do, so judge placement only on tests from your domain.

Domain not authenticated

Run the diagnose step in nitro_manage_domains to see which records are missing or failing. SPF and DKIM both need to pass on the sending domain; open the test in the inbox that received it and read the authentication results in the headers. The guide to email authentication protocols explains what each record does, and the domain deliverability checklist covers everything to confirm on the domain. If verification will not complete, the page on a domain stuck verifying lists the usual record mistakes.

New domain, no history

Authenticate the domain with SPF and DKIM, then ramp the first sends rather than starting with the whole list. Filters stay cautious until a new domain has sent steadily for a while. The full walkthrough for a fresh domain lives on the page about new domain emails going to spam, and the guide to warming up an email domain sets out the pace. For the longer term, a separate sending domain or subdomain for marketing mail, warmed before its first campaign, keeps the main domain's reputation protected if the marketing side ever runs into trouble.

Content trips filters

Run nitro_review_delivery on the template or campaign. It is a read only review that covers validation, spam analysis and a preflight, and it never sends or approves anything. If the spam score is high, cut the image weight, make sure every link resolves where it says it does, and add plain text that reads like a message from a person. Then send another test. For an outside view, a spam test email service or mail tester scores the same message independently.

Domain or IP on a blocklist

Look the domain and sending IP up with a Spamhaus blacklist check. The sign is spam placement at every provider, even for a short plain text message. A listing has to be cleared with the list's owner before any test will land reliably, so stop sending from that domain until it is resolved.

Worked example: an agent checks a campaign whose test went to spam

The prompt, in the sender's words: My test of the webinar invite went to spam. Find out why and don't send to the list until it's fixed.

Before. Left to itself, the agent sends the same test five more times, sees no change it can measure, then switches to a Gmail login so the invite "gets through". The cause is never found, and the campaign still goes out from the domain that failed.

After. The same prompt, run as a gated sequence:

  1. nitro_get_status reports the current sender identity and readiness, which shows whether the test went out from a Nitrosend address or the sender's own domain.
  2. nitro_manage_domains runs the diagnose step on the sending domain and returns any record that is missing or failing.
  3. If any record is missing or failing, the sender publishes the records nitro_manage_domains returns and runs the verify step before going on.
  4. nitro_review_delivery reviews the webinar invite campaign: validation, spam analysis and preflight, with no send. Say it flags a high spam score: the invite is mostly image, with one wrapped link.
  5. nitro_compose_campaign edits the campaign draft to add plain text and replace the wrapped link. It never delivers.
  6. nitro_review_delivery runs again on the edited draft to confirm the flags are cleared.
  7. nitro_send_test_message sends one round of tests of the campaign to the test recipients set with nitro_configure_account, at Gmail, Outlook and Yahoo. It never sends to an audience.
  8. A person opens each test, checks whether it landed in the inbox or spam at every provider, and reads the SPF and DKIM results in the headers.
  9. Only when that person says go does nitro_control_delivery approve the campaign delivery.
  10. nitro_get_insights reports email analytics with trends, benchmarks and recommendations once the invite has gone out.

The difference: one diagnosis, one round of tests, and a person's approval before the list sees anything.

Where it goes wrong when an agent chases the spam folder

  • Repeated tests to the same seed address. Five identical copies to one inbox add no new information, and a burst of the same message from a sender the filter already distrusts does not help that sender.
  • Copy the model rewrote with claims nobody approved. A "less spammy" rewrite can promise a discount, a deadline or a result the business never offered, and that copy then goes to the whole list.
  • A switch to an unauthenticated sender. Moving the test to a personal mailbox or another domain without SPF and DKIM hides the real problem and can make the real send worse.
  • The real send released before the review passed. A test that finally reached the inbox is read as approval, while the review still shows a failing record or a high spam score.
  • One inbox read as every inbox. A test that reached a single Gmail address is reported as "fixed", although Outlook and Yahoo filter differently and were never checked.

Each of these is avoided by the order in the worked example: diagnose, review, one round of tests at more than one provider, then a person approves. To wire that sequence into an agent, start with the MCP setup. To send from code instead, the email API guide covers the calls, and pricing lists each plan's sending allowance.

Before the real send

If tests are landing in spam, do not send the campaign. A send that mostly ends up in junk folders reaches almost nobody, and the poor engagement that follows makes the next send harder.

The reverse also holds: a test that reaches the inbox is not a launch approval. The pre-send check worth running every time covers five things:

  • Resolve wrapped links.
  • Score the content for spam.
  • Weigh images against text.
  • Check how the message renders in dark mode.
  • Send a test to a seed address.

Some sending tools build a version of this in, and where a tool does not, it is worth doing by hand. In Nitrosend that is nitro_review_delivery for the review and preflight, followed by nitro_send_test_message for the test itself.

A warm-up score is not proof of placement either. It measures warm-up mail, not campaigns, so a mailbox can score 99 while its campaigns land in spam. Confirm with a seed placement test before launch and again each month.

One test inbox is also only one sample. Send tests to addresses at more than one mailbox provider, since Gmail, Outlook and Yahoo filter differently. The guide to sending a test email covers seed testing, and the roundup of free email testing tools lists what each one checks.

What to do next

  1. Confirm the test came from your own domain, not a Nitrosend address.
  2. Check SPF and DKIM pass on that domain, and fix any record that does not.
  3. Run a spam analysis and preflight on the message, and act on what it flags.
  4. Send fresh tests to inboxes at two or three providers.
  5. Send the campaign only once those tests land in the inbox.

An agent connected to Nitrosend can run the first three steps from Claude, Cursor or any other MCP client. To script the same checks in a deploy pipeline, start with the Nitrosend CLI or the guide to Python email automation. If the problem looks like it sits below the message, the SMTP test and telnet SMTP test guides check the connection itself.

Common questions

Why did my test email go to spam?

Check first whether the test went out from your own domain. A first test can go out from a Nitrosend address before your domain is verified, and mailbox providers have no history tying that address to your brand. That is the first of five causes; then check SPF and DKIM (two records that both need to pass), the spam score and blocklists.

Should I still send the campaign if the test landed in spam?

No. If the test lands in spam, hold the full send until placement is fixed. Sending a campaign that ends up in junk folders wastes the send and the low engagement that follows can hurt the domain's reputation for the next one.

Does a test email that reaches the inbox mean the campaign is ready?

Not on its own. A test reaching the inbox is not a launch approval. Run a full review before the real send, with validation, spam analysis and preflight, so the sender, the domain and the content are checked together.

Is one test send enough to judge inbox placement?

No. One inbox is one sample. Gmail, Outlook and Yahoo each filter differently, so send tests to addresses at two or three providers and treat a spam result at any of them as a reason to look closer before the campaign goes out.

Should an agent keep resending the test until it reaches the inbox?

No. Another copy of the same message from the same sender tells you nothing new. Find the cause first with a review of the sender, the domain and the content, fix it, then send one fresh test and have a person check where it landed before the campaign is approved.

Go deeper

Sources

Check the send before the list sees it

Simple pricing. Unlimited contacts.

Every plan includes full stack emailing: Flows, Newsletter Campaigns and Transactional Email, plus our NitroWheel LLM and all agent integrations (Claude, ChatGPT, Codex, Cursor and others). Pay for what you send, not who you store.

Choose your billing interval

Every paid plan includes 3 agent inboxes and no Nitrosend footer.

Free

For getting started.

$0USD / month

No card needed.

5,000 emails to start

Start free
  • Then 500 emails every month
  • 3 brands · 2 seats
  • 1 custom sending domain
  • Starter emails never expire

Starter

For your first email program.

$16USD / month

$192 billed yearly.

20,000 emails / month

Choose Starter
  • 5 brands · 3 seats
  • 5 custom sending domains
  • 500 email verifications/month
  • $1.50 / 1,000 extra emails

Pro

For a growing audience.

$40USD / month

$480 billed yearly.

60,000 emails / month

Choose Pro
  • 10 brands · 5 seats
  • 10 custom sending domains
  • 1,000 email verifications/month
  • $1.20 / 1,000 extra emails

Growth

For teams and agencies.

$120USD / month

$1,440 billed yearly.

200,000 emails / month

Choose Growth
  • Unlimited brands · 10 seats
  • 25 custom sending domains
  • 2,500 email verifications/month
  • $0.90 / 1,000 extra emails

Scale

For high-volume sending.

$240USD / month

$2,880 billed yearly.

500,000 emails / month

Choose Scale
  • Unlimited brands · 20 seats
  • 100 custom sending domains
  • 5,000 email verifications/month
  • $0.70 / 1,000 extra emails
Enterprise

Hey, big sender.

Sending 500,000+ emails a month? Get a custom plan designed for you, with volume email pricing and capacity that fits your business.

Daily allowances depend on your plan and sender standing. Strong list, domain and delivery evidence can raise standing, including on day one. Trusted receives the full plan allowance; available email credits, safety checks and delivery pacing still apply.

Free forever. No credit card required. See full comparison →