Skip to contentSkip to navigationSkip to topbar
On this page

Invalid email addresses


Keeping your email campaigns effective requires finding and removing invalid email addresses. This requires knowing what makes an email address invalid. Twilio SendGrid validates email addresses in your campaign lists before sending messages to them.


What makes an email address invalid

what-makes-an-email-address-invalid page anchor

An email address is invalid if it meets either of the following two conditions:

  • The email address syntax doesn't comply with internet email format standards.
  • The email address doesn't exist at the recipient's mail server.

How to identify valid email address syntax

how-to-identify-valid-email-address-syntax page anchor

Length of email addresses

length-of-email-addresses page anchor

These RFCs define length in octets rather than characters.

Valid characters for email addresses

valid-characters-for-email-addresses page anchor
  • The email address doesn't include the @ symbol between the local-part and domain part.
  • The local-part of an email address includes characters other than the following:
    • Letters (A-Z, a-z).
    • Digits (0-9).
    • Special characters (!, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, }, ~, .).
  • The local-part starts with a period (.) or includes two or more periods in a sequence (first..last@example.com).

Target email servers and email service providers might have additional restrictions on email address syntax.


What Twilio SendGrid does to validate email addresses

what-twilio-sendgrid-does-to-validate-email-addresses page anchor

To validate the format of each email address before you send, Twilio SendGrid sends a query to the destination email system. If the destination system doesn't find the email address, it returns the SMTP status code(link takes you to an external page) 550: Requested action not taken: mailbox unavailable. This indicates an invalid email address.

Twilio marks the email address as invalid in your campaign list. Twilio retains reports of any invalid email addresses for 30 days.


Remove invalid email address data

remove-invalid-email-address-data page anchor

To improve your campaign list, remove invalid email addresses. Records of invalid email addresses build over time. This affects the quality of your email list.

To remove invalid email addresses in your lists, complete the following tasks:

  1. Search for invalid email addresses:
    1. Click the calendar icon.
    2. Choose the range of dates to search.
      Your recipient list refreshes and displays the reports of invalid email addresses between those dates.
  2. Download invalid email addresses as a comma-separated value (CSV) file for your records.
    1. Click the gear icon at the top of the page.
    2. Select Download CSV.
      The file downloads to your computer from your browser.
  3. Remove invalid email addresses from the list:
    1. Select individual email addresses or select all displayed email addresses.
    • To select one email address at a time, select the checkboxes next to the recipient names.
    • To select all displayed email addresses, select the checkbox next to the search box.
    1. A new button displays.
    2. To remove the selected email addresses, click that button.