{"article":{"id":4415743225746,"url":"https://sendinblue.zendesk.com/api/v2/help_center/en-us/articles/4415743225746.json","html_url":"https://help.brevo.com/hc/en-us/articles/4415743225746-Configure-a-custom-retention-period-for-your-transactional-logs-and-email-previews","author_id":376380913299,"comments_disabled":true,"draft":false,"promoted":false,"position":4,"vote_sum":-1,"vote_count":15,"upvote_count":7,"downvote_count":8,"section_id":202414965,"created_at":"2022-01-19T14:35:39Z","updated_at":"2026-11-03T08:48:37Z","name":"Configure a custom retention period for your transactional logs and email previews","title":"Configure a custom retention period for your transactional logs and email previews","source_locale":"en-us","locale":"en-us","outdated":false,"outdated_locales":[],"edited_at":"2026-11-03T08:43:27Z","user_segment_id":null,"permission_group_id":114904,"content_tag_ids":[],"label_names":[],"body":"<p>Brevo lets you control how long your transactional email logs and email previews are stored. You can set automatic deletion rules and choose whether email previews are saved. </p><p>To access these settings, at the bottom left, click <a href=\"https://app-smtp.sendinblue.com/retention-logs\"><strong>Settings &gt; Transactional emails &gt; Retention rules</strong></a>.</p><h1 id=\"h_01KQ7375XM8P3DH89JS3BYJ8K3\">Before you start</h1><p>Here are a few important things to know before configuring your retention rules:</p><ul>\n<li data-list-item-id=\"ea3c56bf3619ee53f08df3e1d19929296\">Transactional logs and email previews are stored indefinitely by default. If you never configure a retention rule, your logs will not be automatically deleted.</li>\n<li data-list-item-id=\"e3690fbf9b22bc5162a0a662c69ca9741\">Log retention changes are <strong>retroactive</strong>. When you save a new rule, it will apply to both your existing logs and new logs going forward.</li>\n<li data-list-item-id=\"ebfe97fb6170d735153a3d5983ddf43c3\">Preview changes are <strong>not retroactive</strong>. Changing your preview setting only affects emails sent after you save the change. Existing previews are unaffected.</li>\n<li data-list-item-id=\"e26d40fd2b93cb1b29050378823c01f10\">Deletion can take <strong>up to 24 hours</strong> after a retention period ends.</li>\n<li data-list-item-id=\"e33719d8c6ae8836a8d243c2c6849a8e6\">You can store logs for anywhere <strong>between 1 and 24 months</strong>. A minimum of 1 month is required for Brevo to run spam detection and calculate your sender reputation.</li>\n</ul><div style=\"border: 0; color: inherit; font-family: inherit; font-size: inherit; margin: 1rem 0; padding: .5rem; background-color: #fff4f0; border-left: 3px solid #ff6e3d; border-bottom-right-radius: 8px; border-top-right-radius: 8px;\">\n    <div style=\"margin: 0; padding: .5rem .75rem;\">\n      <div style=\"color: #663e0f; font-size: 1.125rem; font-weight: bold; margin-bottom: 1rem;\">❗ Important</div>\n      If your account has sent\n      <strong>more than 10 million email events</strong>,\n      an additional platform-wide policy applies: any events older than 24\n      months\n      will be automatically deleted, regardless of your custom settings. Affected\n      accounts receive advance notifications (in-app and by email) before\n      any deletion occurs. If you need to retain data beyond 24 months, an\n      extended\n      retention option is available with the Enterprise plan.\n      To learn more, check our dedicated article\n      <a href=\"https://help.brevo.com/hc/en-us/articles/19317424653586\">About the data retention policy</a>.\n    </div>\n  </div><h1 id=\"h_01KQ73CXC6S4VG1CPCE15BXG8N\">Step 1: Choose which senders' logs to store</h1><p>Under <strong>Which senders' logs do you want to store?</strong>, choose one of the following options:</p><ul>\n<li data-list-item-id=\"e2bce3d644785355e2db7edf0492c65f8\">\n<strong>All senders </strong><em><strong>(selected by default)</strong></em><br>The rule applies to every sender in your account. Set how many months logs should be kept before they are automatically deleted. <br><img src=\"https://help.brevo.com/hc/article_attachments/35125165740562\" alt=\"transac-logs_retention_all-senders_en-us.png\" width=\"1948\" height=\"812\">\n</li>\n<li data-list-item-id=\"eac5d9343bc8ea1c73a34a5dfd002c862\">\n<strong>Only selected senders</strong><br>Apply different retention durations to specific senders. This is useful if some senders handle more sensitive data than others.<br><img src=\"https://help.brevo.com/hc/article_attachments/35125165742482\" alt=\"transac-logs_retention_selected-senders_en-us.png\" width=\"1930\" height=\"1134\">\n</li>\n</ul><p>Once the retention period ends, logs are <strong>permanently deleted and cannot be recovered</strong>.</p><div style=\"border: 0; color: inherit; font-family: inherit; font-size: inherit; margin: 1rem 0; padding: .5rem; background-color: #efeefc; border-left: 3px solid #4f46b2; border-bottom-right-radius: 8px; border-top-right-radius: 8px;\">\n  <div style=\"margin: 0; padding: .5rem .75rem;\">\n    <div style=\"color: #4f46b2; font-size: 1.125rem; font-weight: bold; margin-bottom: 1rem;\">💡 Good to know</div>\n    If you need to keep data for longer than 24 months, make sure to export your\n    logs before they are deleted. To learn more, check our dedicated section\n    in the article <a href=\"https://help.brevo.com/hc/en-us/articles/360021533839-Manage-your-transactional-logs-and-email-previews#h_01_transac_logs_preview\" target=\"_blank\" rel=\"noopener noreferrer\">Manage your transactional logs and email previews</a>.\n  </div>\n</div><h1 id=\"h_01KQ73P28JNZRVWNB2SBW3YFKY\">Step 2: Choose whether to keep email previews</h1><p>Under <strong>Do we need to keep your transactional email previews?</strong>, choose one of the following options:</p><ul>\n<li data-list-item-id=\"eff8a1e82811dd31783838e097ac9defb\">\n<strong>Keep the previews for the duration selected above</strong><br>Brevo will store the full HTML preview of each sent transactional email for as long as your log retention period. Previews let you view the exact content of any email directly from the transactional logs.<br><img src=\"https://help.brevo.com/hc/article_attachments/35125165745170\" alt=\"transac-logs_retention_keep-previews_en-us.png\" width=\"1812\" height=\"484\">\n</li>\n<li data-list-item-id=\"e1dd87891a910f5a14d99babb9e5da6f5\">\n<strong>Never store previews </strong><em><strong>(selected by default)</strong></em><br>Brevo will not store any email preview content for new emails. Choose this option if your transactional emails contain private or sensitive recipient information (such as personal data, authentication codes, or legal content).<br><img src=\"https://help.brevo.com/hc/article_attachments/35125150473106\" alt=\"transac-logs_retention_never-store-previews_en-us.png\" width=\"1758\" height=\"478\">\n</li>\n</ul><div style=\"border: 0; color: inherit; font-family: inherit; font-size: inherit; margin: 1rem 0; padding: .5rem; background-color: #efeefc; border-left: 3px solid #4f46b2; border-bottom-right-radius: 8px; border-top-right-radius: 8px;\">\n  <div style=\"margin: 0; padding: .5rem .75rem;\">\n    <div style=\"color: #4f46b2; font-size: 1.125rem; font-weight: bold; margin-bottom: 1rem;\">💡 Good to know</div>\n    Even if you choose to keep the previews, you can still delete individual\n    email previews manually from your transactional logs at any time. To\n    learn more, check our dedicated section in the article\n    <a href=\"https://help.brevo.com/hc/en-us/articles/360021533839-Manage-your-transactional-logs-and-email-previews#h_01_transac_logs_preview\" target=\"_blank\" rel=\"noopener noreferrer\">Manage your transactional logs and email previews</a>.\n  </div>\n</div><h1 id=\"h_01HWMVAW8BHYNW4JRN1E0PBHCT\">⏭️ What's next?</h1><ul>\n<li data-list-item-id=\"e7ea38337b23168bbb97c47ac71f010b0\"><a href=\"https://help.brevo.com/hc/en-us/articles/360021533839\" target=\"_blank\" rel=\"noopener noreferrer\">Manage your transactional logs and email previews</a></li>\n<li data-list-item-id=\"ead7cf894148c4ac09939ce3ed2dfa0c7\"><a href=\"https://help.brevo.com/hc/en-us/articles/19317424653586\" target=\"_blank\" rel=\"noopener noreferrer\">About the data retention policy</a></li>\n</ul>","user_segment_ids":[]}}