Bouncewise

Bouncewise › Guides › SendGrid Email Activity history: 30 days and missing mail

SendGrid guide

SendGrid Email Activity: how far back you can search, and why messages are missing

Updated · 3 min read

Short answer

SendGrid's Email Logs keeps 30 days of email events for all email customers, in the console and through the API (POST /v3/logs), and that period can't be extended. The older Email Activity Feed keeps events for up to 30 days only if you buy the Email Activity history add-on, and its API (/v3/messages) needs the add-on as well. For anything older than 30 days, you have to store events yourself with the Event Webhook.

Two tools, two rules

Email LogsEmail Activity Feed
History30 days, all email customers, can't be extendedUp to 30 days with the Email Activity history add-on
APIPOST /v3/logs, GET /v3/logs/{sg_message_id}GET /v3/messages, add-on required
Results per API calllimit 1–1000 (default 10), no paginationlimit parameter
RegionLogs from EU subaccounts stay in the EUAll data stored in the United States

Twilio's Email Activity Feed page states the 30-day figure only for accounts with the add-on; it doesn't give a number without it, so check what your console shows. Reseller accounts and extra-high-volume accounts can't use the new feed at all and get Legacy Email Activity instead. Accounts bought through Azure, Google Cloud, Heroku or KKE can't buy the add-on.

SendGrid activity list showing recent messages with recipient, subject and delivery status
Recent messages and their latest status from Email Logs.

Searching Email Logs

In the console, Email Logs filters by recipient, date, subject, status, response, from address, message ID, outbound IP, category, events and API key ID. The date filter offers Last 3 days, Last 7 days or a custom range up to the last 30 days. Filters combine with AND, so each one narrows the result. Status is one of Processed, Deferred, Delivered, Dropped, Bounced or Blocked.

Through the API, send a query string and a limit:

curl -s -X POST https://api.sendgrid.com/v3/logs \
  -H "Authorization: Bearer $SENDGRID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "to_email = \"[email protected]\" AND sg_message_id_created_at > TIMESTAMP \"2026-11-20T00:00:00Z\"", "limit": 100}'

Other fields you can query include from_email, subject (with containsAll(subject, "…")), status IN (…), categories IN (…) and api_key_id.

Each result has sg_message_id, from_email, to_email, subject, status, sg_message_id_created_at and, for drops, bounces and deferrals, a reason. Fetch the full event timeline for one message with GET https://api.sendgrid.com/v3/logs/{sg_message_id}. EU subusers use https://api.eu.sendgrid.com. The key needs the Email Activity permission (email_activity.read); without it, the call returns 403.

Why a message isn't there, most common first

  1. SendGrid never accepted it. If Mail Send answered 400, 401 or 403 (for example the sender identity error), no message was created, so there is nothing to find. Only a 202 response means SendGrid took it.
  2. It is older than the window. Past 30 days in Email Logs, or past the feed's retention without the add-on, the events are gone for good.
  3. The API call returned only the first few results. Email Logs defaults to 10 messages and has no pagination; raise limit (up to 1000) or narrow the query with a time condition on sg_message_id_created_at.
  4. The match is case-sensitive. Email Logs matching is case-sensitive except containsAll. [email protected] and [email protected] are different strings to =.
  5. You are looking in the wrong account. Mail sent by a subuser belongs to that subuser; when you query Email Logs from the parent account, name one subuser at a time in the subusers field.
  6. It was dropped, not sent. A send to an address on a suppression list shows status Dropped with a reason, not Delivered or Bounced. See bounces vs blocks.

The add-on and the 403 on /v3/messages

The Email Activity Feed API (GET https://api.sendgrid.com/v3/messages) answers 403 Access Forbidden for two reasons: the account hasn't bought the additional Email Activity history add-on, or the key lacks Email Activity permission. The add-on is added under Settings > Account Details, Your Products, by the account's primary administrator or a teammate with Administration permissions. SendGrid says to allow 12 hours after buying it before the API works. The add-on isn't available on Marketing Campaigns-only plans.

If you only need 30 days, Email Logs gives you that without the add-on, so new integrations should use /v3/logs rather than /v3/messages.

Keeping more than 30 days

Neither tool goes past 30 days. If you need a longer record (support disputes, compliance, bounce trends over a quarter), turn on the Event Webhook and store the events yourself: SendGrid then posts each event (delivered, deferred, bounce, dropped, open, click and so on) to your URL as it happens. CSV export from the Activity Feed is the other option, but it's limited to the last one million events.

Note what isn't recorded anywhere: Inbound Parse events don't appear in the Activity Feed, and Email Logs holds events, not message bodies.

Questions

How long does SendGrid keep email activity?

Email Logs keeps 30 days of events for all email customers. The Email Activity Feed keeps up to 30 days with the paid Email Activity history add-on.

Can I get SendGrid activity older than 30 days?

Not from SendGrid. Store events yourself from the Event Webhook going forward, or export CSVs regularly before they age out.

Why does /v3/messages return 403?

The account lacks the additional Email Activity history add-on or the key lacks Email Activity permission. Use /v3/logs instead if 30 days is enough.

Sources