The content check looks at a draft for the things that most often send mail to spam or get it refused, and tells you how to fix each one. It takes a second and sends nothing.
Check a draft in the dashboard
- Open Check an email in the left menu.
- Fill in what you have: Subject, HTML, Plain text, and Attachment file names (comma separated, for example
invoice.pdf, report.csv). - Press Check it.
The result shows the verdict as a heading, a note on what the check can and cannot promise, and each finding with what to change. Anyone on the team except the Billing role can use this page.
Check a draft with the API
curl https://api.mailcandor.com/v1/emails/check \
-H "Authorization: Bearer $MAILCANDOR_KEY" \
-H "Content-Type: application/json" \
-d '{
"subject": "FREE OFFER INSIDE!!!",
"html": "<p>Act now</p>",
"headers": {},
"attachments": [{"filename": "offer.pdf"}]
}'
All fields are optional. Pass headers if you set your own, so the List-Unsubscribe check can see them. For attachments only the filename is read.
The answer:
{
"verdict": "likely_spam",
"label": "Likely to land in spam",
"score": 6,
"findings": [
{ "level": "fix", "title": "Subject is in capitals", "detail": "Shouting subjects are a classic spam sign. Use normal sentence case." }
],
"note": "These are our own rules of thumb..."
}
What the verdicts mean
verdict |
Label | Score |
|---|---|---|
looks_good |
Looks good | 0 |
worth_fixing |
Worth fixing before you send | 1 to 3 |
likely_spam |
Likely to land in spam | 4 or more |
Each finding is fix (worth 2 points or more, change it) or tip (1 point, worth a look).
What it checks
| Finding | Fix |
|---|---|
| No subject | Say what the email is about in a few words. |
| Subject is in capitals | Use sentence case. |
| Several exclamation marks in the subject | One at most. |
| Phrases spam filters watch for | Reword phrases like “act now” or “100% free”. |
| Mostly images, little text | Put the message in real text; images support it. |
| HTML is over 102 KB | Gmail clips long emails, hiding your footer. Trim inline styles. |
| A link goes to a bare IP address | Link to your own domain. |
| Link shortener used | Use the full link on your domain. |
| A link is not https | Use https:// links. |
| A link shows one address and goes to another | Make the shown and real addresses match. |
| A file type that gets blocked | Programs and scripts (.exe, .js, .bat and similar) are rejected; share a link. |
| No List-Unsubscribe header | For marketing mail, add List-Unsubscribe and List-Unsubscribe-Post headers. See the List-Unsubscribe guide. |
Use it in your release process
Run the check in CI on your email templates and fail the build on likely_spam. It costs nothing per call beyond counting towards your rate limit.
If it does not work
- 401 invalid_api_key. The key is wrong or revoked. See 401 invalid API key.
- 429 rate_limit_exceeded. You are checking many templates at once. Wait a second between bursts.
- Clean verdict, still in spam. Content is only part of it. Check the domain’s Health section and read Emails going to spam.
More in the API reference.