A request that returns HTTP 200 can still be followed by a bounce, a suppression, or a message that lands in spam. With Volanea, a sk_test_ key can render and log a message but never deliver it—a useful distinction when a test appears successful but no recipient receives mail.

When an email API is not sending emails, identify the failed stage before changing code: inspect the HTTP response, trace the message ID in provider records, check credentials and payload, then follow delivery events and sender authentication. An accepted request is not proof of mailbox delivery; the provider’s final status and SMTP diagnostics show what happened next.

1. Identify what “not sending” means

“Not sending” can mean the API rejected a request, accepted it but deferred or rejected the message, handed it to the recipient’s mail server, or delivered it to a mailbox where filtering hid it from the inbox. Each outcome calls for a different investigation. Use the table to classify the symptom before retrying.

EvidenceWhat it establishesNext place to investigate
HTTP 401 or 403Authentication or authorization failed, or sending was deniedCredential, account, and permission details
HTTP 422The API commonly reports an invalid or incomplete request this way; exact behavior depends on the APIResponse body and message fields
HTTP 429The service is refusing or limiting requestsRate-limit response and account state
Provider message ID or queued statusThe request was accepted for processingProvider status, suppression, and delivery events
SMTP rejection or bounceA receiving server refused the messageSMTP diagnostic, recipient address, and sender authentication
Delivery eventThe recipient’s mail server accepted the messageRecipient spam, quarantine, or mailbox rules

These HTTP codes are common patterns, not a universal contract: use the response body and the specific provider’s documentation to interpret them. Gmail’s sending guide shows a GoogleJsonResponseException with code 403 as an inability to send, but does not identify the cause of that error. That distinction matters: a 403 is evidence of a failed send operation, not a diagnosis by itself.

2. Check the API response and message logs

Capture the endpoint, HTTP status, response body, request time, and returned message ID. Keep the ID with your application’s own event or job identifier. Amazon SES returns a unique message ID when a sending request succeeds; the ID helps trace the attempt through later events (SES sending process).

For example, Gmail’s documented method is users.messages.send:

POST https://gmail.googleapis.com/gmail/v1/users/me/messages/send
Authorization: Bearer ACCESS_TOKEN
Content-Type: application/json

{"raw":"BASE64URL_ENCODED_MIME_MESSAGE"}

A successful response contains a Gmail Message resource, including an immutable id and a threadId. Those fields identify the message and conversation; they do not report that a human saw it in the inbox. Gmail requires the message content in the raw field as a base64URL-encoded MIME message (Gmail send method, Gmail sending guide).

For Volanea, POST /v1/send returns when the message is durably queued. Use the returned ID with GET /v1/emails/{id}, rather than treating the initial response as final delivery. An abbreviated illustrative response uses documented fields:

{
  "id": "em_example",
  "status": "delivered",
  "deliveredAt": "2026-11-25T12:30:00Z",
  "openedAt": null,
  "error": null,
  "latencyMs": 842
}

The documented status values include queued, sending, sent, delivered, bounced, complained, failed, and cancelled. If there is no message ID or provider record, resolve the request failure first; if there is one, follow its status instead of sending repeated copies.

3. Verify credentials and account permissions

Check the credential loaded by the deployed process, not only the one used in a local test. Confirm that an API key belongs to the intended project and environment. For Gmail API sending, the authorized account needs one of these scopes: https://mail.google.com/, https://www.googleapis.com/auth/gmail.modify, https://www.googleapis.com/auth/gmail.compose, or https://www.googleapis.com/auth/gmail.send (Gmail send method).

A common troubleshooting mistake is to infer a specific cause from a generic authorization failure. Google’s example treats a 403 as inability to send but does not state why; inspect the actual error body, granted scopes, account identity, and application logs. A Gmail password change may coincide with a failure, but the error alone does not establish that it invalidated a particular token. Confirm the credential state through the account’s authorization flow instead of assuming a password change is the explanation.

For SMTP, compare the username, password, host, port, and TLS mode used by the running service with the provider’s settings. Volanea’s SMTP login uses username volanea and the project’s secret API key as the password. Do not print the key into logs; log a safe key identifier or secret version so you can distinguish a stale deployment secret from a rejected message.

4. Check the request payload and sending configuration

A test email can succeed while a custom API message fails because the test and application may use different recipients, sender addresses, templates, or environments. Compare the successful test with the failing request field by field. For Gmail, check that recipients are present in the MIME message’s To, Cc, or Bcc headers; the users.messages.send method sends to recipients specified in those headers.

For a template-based message, verify the template identifier and variable names, then inspect the rendered output for empty or malformed substitutions. Confirm the deployed From address, recipient mapping, and environment-specific settings as well. Volanea accepts sk_test_ keys for rendering and logging, but those keys never deliver mail. A test send made with one can therefore demonstrate template rendering without proving that production delivery is enabled.

Volanea’s MCP server provides 23 AI-agent tools on every plan. Its documentation describes test sends as forced into test mode, while campaigns remain drafts for a human to launch. If an AI coding agent has generated a test-send flow, verify that the test result is not being mistaken for a delivered production message (Volanea plans and MCP details).

5. Trace accepted messages through delivery events

Look up the event tied to the message ID and read the provider’s status and diagnostics. Amazon SES distinguishes a Send event, which means it will attempt delivery, from a Delivery event, which means the recipient’s mail server accepted the message. An SES delivery event includes a timestamp, intended recipients, the remote ISP’s SMTP response, the reporting SES mail server, the remote MTA IP address, and processingTimeMillis—the time from SES accepting the request until passing it to the recipient’s mail server (SES event records).

Interpret the next event rather than retrying blindly. A Bounce records a permanent rejection or a soft bounce after SES stops retrying. A DeliveryDelay identifies a temporary problem, such as a full inbox or a receiving-server issue. A Reject means SES accepted the request but detected a virus and did not attempt delivery (SES event definitions).

Also check suppressions. SES can record a message as sent even when account-level or global suppression prevents delivery. Volanea runs suppression checks in its send pipeline, so a suppressed recipient may not receive a message despite a correctly formed request. Volanea’s reputation guard can also slow sending before a poor list damages a domain; a change in sending pace is not necessarily an API outage.

If a recipient’s server refuses mail during the SMTP transaction for an SPF failure, the SPF specification recommends reply code 550 and, if supported, enhanced status 5.7.1. A permanent rejection should be distinguished from a temporary delay by the provider’s actual SMTP response. If the provider reports delivery but the person cannot find the message, ask the recipient to check spam, quarantine, and mailbox rules; server handoff does not prove inbox placement.

6. Authenticate the domain in the actual From address

Check the domain shown in the message’s visible From header, not just a provider-branded sending domain. SPF checks whether the connecting SMTP client is authorized for the SMTP MAIL FROM identity. DKIM validates a signature associated with its signing domain. DMARC passes when at least one authenticated identifier—the validated SPF MAIL FROM domain or a validated DKIM signing domain—aligns with the domain in the visible From header (DMARC specification).

An SPF fail means the client is explicitly not authorized to use that identity’s domain; a receiver may mark or reject the message. A softfail signals that the domain believes the host is unauthorized without making as strong an assertion, and receivers may scrutinize the message. For an illustrative SPF record using the documentation-only TEST-NET address, the form is:

example.com. TXT "v=spf1 ip4:192.0.2.10 -all"

That address is an example, not a sending-provider value: publish only the authorization your email provider specifies. A DMARC record is published as a TXT record at _dmarc plus the author domain; a basic illustrative record is:

_dmarc.example.com. TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"

Check the provider-supplied DKIM selector and public key in DNS, then inspect the message’s authentication results for SPF, DKIM, and DMARC. A valid DKIM signature from a non-aligned domain does not make DMARC pass. Even a DMARC pass does not guarantee delivery: recipients can still quarantine or reject mail under their own policies. Volanea provides guided SPF, DKIM, and DMARC domain checks as part of its sending setup.

7. Retest and prevent repeat failures

Change one variable at a time and send to an address you can inspect. Record the request timestamp, recipient, response, message ID, and final event. Repeat with the same message type and configuration that failed; a basic test message does not exercise custom templates, production credentials, or the same recipient path.

Use separate alerts for separate failure classes:

  • Authentication: capture 401 and 403 responses and identify which deployed credential version was active.
  • Payload: retain the non-sensitive request shape and validation error for 422 responses.
  • Rate or account state: preserve 429 responses and the provider’s retry guidance; do not assume an immediate retry will fix an account limit.
  • Delivery: monitor bounce, delay, complaint, and delivery events by message ID and recipient domain.
  • Domain configuration: track SPF, DKIM, and DMARC results independently from API request errors.

Check the account’s monthly sending state too. Volanea pauses sending when the monthly email limit is reached and does not bill overages. An API integration can remain valid while new sends pause because the account has used its monthly volume; distinguish that account state from a code regression. For background on production request design, see our guide to building reliable email sending flows.

8. Escalate with evidence or change the setup

When the event chain remains unclear, send provider support the timestamp and time zone, endpoint, HTTP status and response body, message ID, recipient domain, and latest delivery status or SMTP diagnostic. Redact message content and credentials. Ask support to explain the event associated with that ID and whether the receiving mail server accepted, deferred, or rejected it.

Monthly volumeVolanea planMonthly priceAnnual calculation
50,000 emailsGrowth$20/month20 × 12 = $240/year
200,000 emailsScale$149/month149 × 12 = $1,788/year

A team should change its setup when it needs clearer ownership of request status, delivery events, suppressions, and campaigns—not just because one message failed. Volanea combines transactional email, campaigns, and automations on one API, with REST API and webhooks included on every plan. If a single workflow fits your operational needs, start free with 1,000 emails a month. For more troubleshooting topics, browse our email deliverability and sending guides.

FAQ

Why is my email API request successful but no email arrives?

A successful API response may mean only that the provider accepted or queued the request. Follow its message ID into delivery events: a send, delivery, bounce, delay, or suppression tells you more than the initial response. Even a delivery event usually confirms acceptance by the recipient’s mail server, not that the message reached the inbox rather than spam or quarantine.

Can a Gmail password change stop API email sending?

A password change may occur around the time an application stops sending, but it does not by itself identify the cause. Gmail requires an authorized OAuth scope for users.messages.send, and Google’s sending guide shows a 403 as an inability to send without specifying why. Inspect the error details, account, and granted scope before changing stored credentials.

What should I send support when an SMTP API message fails?

Provide the request timestamp and time zone, HTTP response, message ID, recipient domain, and the provider’s SMTP diagnostic or event status. For an SMTP rejection, include the exact reply code and text; for example, an SPF-related rejection may use 550 and enhanced status 5.7.1. Never include a live API key, OAuth token, or sensitive message body.