Prompt
How do I check email delivery logs by message ID?
Latest observation
Nov 6, 2026
OpenAI APIWeb search: off
To check email delivery logs by message ID, the exact steps depend on your email provider or mail server, but the general process is:
1) Find the Message-ID
You usually need the email’s header Message-ID value, for example:
Message-ID: <abc123@example.com>
How to find it
- Gmail: Open the message → More (three dots) → Show original
- Outlook / Microsoft 365: Open message → View message source or View headers
- Apple Mail: Message → View → Message → All Headers or Raw Source
- Most mail clients: Look for “Message-ID” in the full headers
2) Search the delivery logs
Once you have the Message-ID, search your mail logs or provider’s message trace tools.
If you manage your own mail server
Common log locations and commands:
-
Postfix
grep '<abc123@example.com>' /var/log/mail.log # or grep '<abc123@example.com>' /var/log/maillog -
Exim
grep '<abc123@example.com>' /var/log/exim/mainlog -
Sendmail
grep '<abc123@example.com>' /var/log/maillog
If you use a cloud email service
Use their message tracing/search tools:
- Microsoft 365 / Exchange Online: Message trace
- Google Workspace: Email Log Search
- SendGrid / Mailgun / SES / Postmark: Search by Message-ID or provider message ID in their dashboard/API
3) Interpret the log result
Look for:
- Accepted / queued
- Delivered
- Deferred / retried
- Bounced / rejected
- Spam / dropped
4) If Message-ID search doesn’t work
Sometimes logs don’t store the RFC Message-ID exactly. Try:
- Searching by recipient
- Searching by sender
- Searching by queue ID / internal message ID
- Searching by timestamp window
Some systems use a different ID internally than the email header Message-ID.
If you want, tell me which system you’re using:
- Gmail / Google Workspace
- Microsoft 365 / Exchange
- Postfix / Exim / Sendmail
- AWS SES / SendGrid / Mailgun / Postmark
and I’ll give you the exact steps or command.