Mark undeliverable SendGrid addresses in Mautic

Stop email to an exact Mautic contact after SendGrid reports a permanent unknown mailbox, preserving other channel preferences.

9 stepsMarketingOperations

Free to start, no card required.

How it works

  1. When this happens

    The bounce review is due

    Schedule

  2. Step 1 · Code

    Set the six-hour review window

  3. Step 2 · SendGrid

    Read the SendGrid bounce list

  4. Step 3 · Code

    Select permanent unknown mailboxes

  5. Step 4

    Check each undeliverable address

    1. Step 5 · Mautic

      Find the contact by exact email

    2. Step 6 · Code

      Check identity and email permissions

    3. Step 7

      Check if email should be stopped

      Follows the first path that matches

      • One contact still receiving email

        1. Step 8 · Mautic

          Mark email undeliverable in Mautic

      • Otherwise

        Nothing happens

    Repeats for every item

Before you start

Use the same SendGrid account or subuser that sends email for this Mautic instance. Give SendGrid read access to bounces and Mautic permission to read contacts and set email do-not-contact. Each hour checks the past six hours and stops for review at 500 bounces per window.

Accounts to connect

See all 187 in Marketing

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template