How long are Inbound and Outbound messages stored in activity?
Content and Metadata
Postmark stores email content, events (e.g. delivery, click, open), and metadata for all messages for 45 days by default, however you can adjust this timeframe from 7 to 365 days with our Retention Add-on. Once we reach the expiry date of a message, Postmark deletes email content and related metadata for all delivered messages. Postmark stores aggregated statistics forever. This includes bounce and spam complaints. For historical Hard Bounce and Spam Complaints, they can be found under the Suppressions section of your Message Stream or via our Suppressions API (We don’t show message content in the suppression tab).
Postmark stores blocked inbound messages for your Retention period - which is 45 days by default. The retention time can be customized from 7 to 365 days if needed.
To store messages locally, use Postmark’s Messages API to store messages in JSON format in your own database. Postmark’s API Explorer is available to test making the API calls.
Attachments are not retrievable via the Postmark UI, API, or webhooks as Postmark does not host the attachment in any way. We do, however, log the attachment bytes in the Postmark UI, under the Raw Source tab.