Why company emails go to spam, and how to fix it

Published · 7 min read

When customers say your quotes and invoices land in their junk folder, the cause is almost never the wording. It's usually how your domain is set up, or the server your email leaves from. Both can be checked and fixed without changing your email addresses.

The short answer

Gmail, Outlook and other providers decide where a message goes by asking two questions: is this really from the company it claims to be from, and does the server that sent it have a good record? If your domain can't prove the first, or your mail leaves from a server with a bad record, your messages go to spam, however ordinary they are.

  • Missing or broken domain records: SPF, DKIM and DMARC. This is the most common cause, and the first thing to fix.
  • A bad sending reputation: email sent from cheap shared hosting, or from a website contact form, through a server that other senders have already got blacklisted.
  • How you send: newsletters and bulk mail from ordinary mailboxes, sudden jumps in volume, and messages that look like phishing.

Check where you stand

You can see what receiving servers think of your email yourself. Send a message from your company address to a personal Gmail account, open it, and choose Show original from the three-dot menu. Gmail lists SPF, DKIM and DMARC at the top, each with PASS or FAIL.

  • All three PASS: your domain is set up properly. If mail still lands in spam, look at reputation and sending habits below.
  • SPF or DKIM FAIL, or missing: the domain records need fixing. This is a DNS change, not a new email system.
  • DMARC FAIL or missing: receivers can't tell your real messages from forged ones.

Google's free Check MX tool (opens in a new tab) reads your domain's records and lists what's wrong. It's built for Google Workspace, so if your mail is on Microsoft 365, ignore its warnings about MX records and read the SPF and DMARC results.

SPF: list who may send email for your domain

SPF is one TXT record in your domain's DNS that lists the services allowed to send email as your company. A receiving server checks the sender against that list.

  • Google Workspace needs include:_spf.google.com in the record. Microsoft 365 needs include:spf.protection.outlook.com.
  • Add every other service that sends as your domain: the website, the accounting or invoicing system, the newsletter tool. A service that's missing fails SPF.
  • A domain must have exactly one SPF record. Two records, often one left behind by an old host, make SPF fail for everything.
  • SPF allows a limited number of lookups, so a record that includes too many services stops working. Keep it to the services you actually use.

DKIM: sign every message

DKIM adds a digital signature to each message, which receivers check against a key published in your DNS. It proves the message came from your domain and wasn't changed on the way.

  • Google Workspace: in the Admin console, open Apps, Google Workspace, Gmail, Authenticate email. Generate a key, publish it as a TXT record, then click Start authentication.
  • Microsoft 365: in the Microsoft Defender portal, open Email authentication settings, then DKIM. Publish the two CNAME records it shows, then enable signing for your domain.

Until you do this, both platforms sign your mail with their own domain instead of yours. That's enough for some receivers, but a signature from their domain doesn't count towards DMARC, so your mail then depends on SPF alone.

DMARC: tell receivers what to do with fakes

DMARC is a TXT record at _dmarc on your domain. It tells receivers what to do with messages that claim to be from you but fail SPF and DKIM, and where to send reports about them. Gmail, Yahoo and Outlook.com now require it from anyone who sends in bulk, and it stops criminals sending invoices in your name. A message passes DMARC when SPF or DKIM passes for your own domain, the one in the From address. That's the usual catch with newsletter and invoicing tools: they pass for their own domain, not yours, until you set them up to send as your domain.

  • Start with p=none and a reporting address. Nothing is blocked; you receive reports showing every service sending as your domain.
  • Fix any legitimate sender that fails, such as the invoicing system nobody remembered.
  • Then move to p=quarantine, and finally p=reject, so forged messages go to spam or are refused.

Don't start at p=reject. If one legitimate system isn't set up yet, its messages will be refused without anyone noticing.

Shared servers and sending reputation

Every mail server has a reputation, built from what it has sent before. Cheap web hosting often sends email for many customers from the same server. If one of them sends spam, the server is blacklisted and everyone on it suffers, including you.

  • Company email kept on the website's hosting account is the usual case. Moving it to Google Workspace or Microsoft 365 puts it on servers with a strong reputation.
  • Website contact forms and online shops often send through the web server itself, without SPF or DKIM. Send them through your email platform or a dedicated sending service instead.
  • A free blacklist check, such as MXToolbox (opens in a new tab), shows whether the server your mail leaves from is listed.

How you send matters too

  • Send newsletters and offers through a newsletter service, ideally from a subdomain such as news.yourcompany.com, not from a staff mailbox with hundreds of addresses in BCC.
  • Avoid sudden jumps in volume. A mailbox that usually sends a few messages a day and then sends a thousand looks like it has been hacked.
  • Be careful with what looks like phishing: shortened links, a link whose text doesn't match where it goes, a message that is only an image, and zipped or executable attachments.
  • Ask customers who find you in spam to mark the message as not spam. It teaches their provider that your mail is wanted.

Google Workspace and Microsoft 365: the setup that matters

Moving to Google Workspace or Microsoft 365 fixes the reputation problem, but not the domain records. These have to be right on either platform:

  • The MX records point to the new platform, and the old host's records are removed.
  • One SPF record that includes the platform and every other service that sends for you.
  • DKIM switched on for your own domain, not left on the platform's default.
  • A DMARC record, moved from p=none towards p=reject once reports are clean.
  • Aliases, shared mailboxes and forwarding set up on the platform itself, not as forwards from an old server, which break SPF.

A common situation for companies in Egypt: the domain was registered years ago by a web agency or a former employee, and nobody now has the login to change its DNS. Recovering that access is the first step, and the domain should end up registered in the company's name.

When to get help

If you can open Show original and see three PASS results, you've done most of the work yourself. If you can't reach your DNS, don't know which services send as your domain, or the records look right and mail still goes to spam, it's time to ask someone who does this every day.

We set up and fix company email as part of our cloud and business email service: we audit the domain, correct SPF, DKIM and DMARC, move email off shared hosting when that's the cause, and watch the DMARC reports afterwards. Email security sits within our cybersecurity service.

Emails going to spam right now? Tell us your domain and an engineer will check it and tell you what's wrong.

Common questions

Why do our emails go to spam at Gmail but not at Outlook, or the other way round?

Each provider weighs things differently. Gmail is strict about SPF, DKIM and DMARC, and Microsoft gives a lot of weight to the sending server's reputation. Fix the domain records first, then check the server your mail leaves from.

We already have an SPF record. Why do emails still go to spam?

SPF alone isn't enough. Without DKIM and DMARC many receivers still treat your mail with suspicion. Also check that you have only one SPF record and that it includes every service that sends for you.

Will DMARC block our own emails?

Not if it's introduced in steps. Starting at p=none blocks nothing and shows you every sender using your domain. You only tighten the policy once all of your own systems pass.

How long do the fixes take to work?

DNS changes usually take effect within an hour, and occasionally up to a day or two. A damaged sending reputation takes longer to recover, which is why moving away from a blacklisted server is often faster than waiting.

Do we have to move to Google Workspace or Microsoft 365 to fix this?

Not always. If your current provider is reputable, correct records are often enough. If your email runs on shared web hosting, moving it is usually the lasting fix.

Can Double Backslash fix our company email?

Yes. We check your domain, fix the records, move email to Google Workspace or Microsoft 365 when needed, and keep watching the reports so the problem doesn't come back.

Let's talk about your IT.

Tell us how IT is handled in your company today. One of our engineers reads it and gets back to you. The first conversation is free and doesn't commit you to anything.

Talk to an IT expert
Call+20 150 090 1500Emailinfo@doublebackslash.netOfficeVilla 207, South Investors Area, Fifth Settlement, New Cairo

What happens next

  1. You tell us about your environment
  2. We review your needs
  3. We schedule a conversation
  4. We propose the right approach