How we keep Cake's email out of spam and Promotions
An artist told us their request alerts landed in Promotions. What we built to keep Cake's mail trusted, what broke, and where the usual advice is wrong.
On October 7 an artist told us: "my cake request emails started to get pushed into my promo folder."
Nobody can promise you that an email lands in Primary, us included. Gmail picks the tab for each inbox on its own and doesn't tell the sender why. What a sender controls is whether its mail is easy to trust, and that part is on us.
A request email is the one that says somebody wants to get tattooed by you. When it sits in the wrong tab, the client waits on an answer you don't know they asked for. Artists told us about this in our interviews. Four of them brought up email landing in spam without being asked, and one said clients booked months late because an approval email sat there.
Each of our domains does one job
I learned this one the expensive way. At a business before Cake, we had about 20,000 people on one list, sent from our main domain. After a quiet stretch we pushed hard for Black Friday. Unsubscribes and spam reports piled up, the domain's reputation went with them, and the order and support emails our customers needed stopped getting through. It took three to six months to recover. The list ended near 5,000.
Mail providers judge a sender partly by its domain. So Cake's mail goes out on three, each with one job:
cake.inkcarries what you need from us: request alerts and sign-in codes.updates.cake.inkcarries news about Cake, and nothing else.reply.cake.inkcarries the mail between you and your clients.
If a newsletter of ours annoys people, the spam reports count against updates.cake.ink, and the domain that sends your sign-in code keeps its own reputation.
Inside cake.ink, each kind of mail has its own address. Request alerts come from no-reply@cake.ink, sign-in codes from login@cake.ink. Google's sender guidelines ask for exactly this: "Messages of the same category should have the same From: email address."1 It also means a Gmail filter on one address can pick out your alerts.
Your clients see one address for you, and it stays put
Until September 1, when every artist on Cake moved to the new address, the emails your clients got from Cake came from a different address for every conversation. Each was a long string of letters and numbers at our reply domain. During the beta, one artist's client emails landed in spam. Addresses built like that match a SpamAssassin rule, FROM_LOCAL_HEX, and ours matched it.
Now each artist gets one address, made from their handle, like yourhandle@reply.cake.ink, and your clients see it as "Your Name via Cake". The per-conversation address moved to the Reply-To line, where it still routes each reply to the right request. Your clients can save you as a contact, which helps with spam and doesn't pick the tab. The address doesn't change if you change your handle later.
We don't claim that one address builds a reputation of its own. We made the change because the old addresses looked like spam, and because Google asks for one From address per kind of mail.
We don't track opens or clicks on the mail you need
Since September, our rule keeps open and click tracking off everywhere except updates.cake.ink. The one email we've read down to its raw source had neither. This is a choice, and we'd make it again.
Click tracking works by rewriting every link in an email so it passes through the tracker's server first. Every link in your email, including the ones that let you into Cake, would take a detour through someone else's server before it reached you. We won't route a way into Cake through a host we don't run. Rewritten links are also a habit of marketing mail, and we'd rather our alerts didn't look like marketing.
Open tracking needs a hidden image in every email. Apple Mail fetches those images through its own proxy, which counts as an open whether anyone read the email or not. We decided in July not to show artists open counts, because the number would lie to them.
The one place we track is updates.cake.ink, the news about Cake. Nothing on that domain signs you in.
An address that bounces stops getting mail
If a client's email address bounces, Cake stops sending to that address. If the client's mail service tells us they marked a Cake email as spam, Cake stops too. Gmail doesn't tell us. The request shows you whether the email was delivered, bounced, not sent or marked as spam. It stays stopped until you fix the address.
We think mailing an address that already bounced is the fastest way to teach a mail provider you're careless. A typo in an address is a quick fix for you, so we'd rather ask you than keep knocking.
News about Cake follows list rules
Every email in our newsletter carries an unsubscribe link you can see and our postal address. If the postal address is missing, the newsletter refuses to send at all. Micah sends it, and replies go to Micah's own inbox.
What we got wrong
Our threading never threaded
From July, our client emails carried the headers that tell an inbox "this belongs to the same conversation." On October 9 we found they had never worked. Amazon SES, which delivers mail for Resend, our email provider, replaces each email's Message-ID on the way out, so our later emails pointed at IDs no inbox had seen. We'd checked what we handed to Resend. Nobody checked what arrived. Now each email to a client points at the Message-ID the one before it was delivered with, and lists the earlier ones. The headers thread now.
A long request stopped an alert
In September, two new-request alerts never went out. Each held a piece of text longer than the 2,000 characters Resend accepts for one value in an email, and Resend refused the send. No alarm caught it; we found it later, on review. Long text now gets cut at a clean break, with a link to the rest.
Changing a key stopped our mail
On September 23 a change to our Resend key stopped Cake's email for 61 minutes. Now a refused key delays mail and retries it, instead of dropping it.
SPF, DKIM and DMARC all pass
First, whether our mail can prove it came from us. All three domains have SPF and DKIM, and cake.ink and updates.cake.ink have a DMARC record set to p=none, which asks receivers to block nothing while we read the reports. Every record was where it should be.
Then Micah sent a booking request through a brand-new account to a fresh inbox and read the confirmation down to its raw source. DKIM, SPF and DMARC all passed. There was no tracking image, every link was untouched, and Gmail filed it under Updates, the tab Google describes as "Automated confirmations, notifications, statements, and reminders that may not need immediate attention."2
That test has a hole. It read the email your client gets. The report was about the alert you get, which leaves from no-reply@cake.ink and goes to you. We still haven't seen the raw source of an alert that landed in Promotions, and that's the evidence that would tell us the most.
Where we disagree with the usual advice
"Strip your emails down to plain text."
Micah built three plainer versions of our emails. One swapped the button for a text link, one dropped the logo, and one dropped the card. They kept every word. Micah put them side by side at phone width and chose the designed one. Our view is that Gmail cares far more about who sent an email and how you've treated that sender before. Each template also keeps a plain-text twin in step with the designed one.
"Keep a safe ratio of text to images."
We went looking for the number. There isn't one.
"Delivered means it reached you."
"Delivered" means another server accepted it. Resend can tell us an email was delivered, and it can't tell us which tab it landed in.3 Google's Postmaster Tools reports a sender's reputation and authentication, and it has no Primary-versus-Promotions report.4 Anyone who tells you where your email landed in someone else's inbox is guessing.
"We'll get you into Primary."
If a tool or a consultant promises that, we'd ask them how. We can't, and we've looked.
Where each piece stands
- LiveThree domains, one job each. SPF and DKIM on all three, and DMARC on
cake.inkandupdates.cake.ink. - LiveOne stable address per artist for client mail.
- LiveNo open or click tracking on the client email we read at its raw source. Our rule keeps tracking off everywhere except
updates.cake.ink; we haven't read an alert's source yet. - LiveSending stops to an address that bounced, or one whose mail service reported spam. Gmail doesn't report it.
- LiveEach email to a client about a request points back to the ones before it, by the Message-ID each was delivered with.
- LiveA plain-text version in every email template. We haven't read a delivered copy to confirm it arrives.
- LiveThe Send a test alert button, in Settings under Notifications, emails you a test. It comes from
no-reply@cake.ink, the address your new-request alerts come from, so you can move it to your inbox before a client's first request reaches you. - LiveThe request code now trails the subject of client emails, in square brackets, instead of leading it. We expect little from it, and we'll say if that's wrong.
If an alert lands in Promotions
Move it to Primary, and make a filter for no-reply@cake.ink set to Categorize as Primary.
Then send us the original. In Gmail on a computer, open the email, choose Show original, then Download original, and send the file to support@cake.ink with a screenshot of the tab it landed in. That one email is the piece we're still missing.
Sources
- Email sender guidelines Gmail Help
- Organize your inbox Gmail Help
- What if an email says delivered but the recipient has not received it? Resend
- Postmaster Tools dashboards Gmail Help