Skip to content

Set up announcement email template with custom unsubscribe link #1734

Description

@cka-y

Description:
Update the announcement email template in Brevo to use a custom unsubscribe link in the footer instead of Brevo's native {{ unsubscribe }}. The link should use {{ contact.MDB_SUBSCRIPTION_ID }} to build the URL pointing to the frontend unsubscribe page.

Unsubscribe URL format:

https://mobilitydatabase.org/notifications/unsubscribe?id={{ contact.MDB_SUBSCRIPTION_ID }}

Reference: Successful feasibility test (template #68)

Acceptance Criteria:

  • Announcement email template footer uses custom unsubscribe link with {{ contact.MDB_SUBSCRIPTION_ID }}
  • Native Brevo {{ unsubscribe }} link is replaced
  • Link correctly points to frontend unsubscribe page
  • Tested with a test contact that has MDB_SUBSCRIPTION_ID set

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions