Mark a received email as not spam: it fires email.received and is forwarded to the email groups among its recipients (needs email:write)
POST/emails/receiving/:id/not-spam
Take a message the receiving service flagged as spam out of spam. It is announced as email.received and sent on to the email groups among its recipients, as if it had arrived clean; loop, auto-reply and per-sender limits still apply. Marking a message that is not spam changes nothing. To stop a sender's mail being held at all, add its domain to the receiving domain's trusted_senders.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Missing API key or key lacks permission
Invalid API key, unverified domain, or sending paused
Not found
Validation error
Rate limit (10 requests per second for this API) or daily quota exceeded; see the retry-after header