Product

Mailgun verifications now supports alias and long-term disposable address identification

Have you ever found your signups filled with email addresses like username+junkmail@gmail.com?  If so, congratulations – you’ve found an email alias. This has become a fairly common practice with Google and Microsoft email addresses... but we have a solution.

PUBLISHED ON

PUBLISHED ON

Have you ever found your signups filled with email addresses like username+junkmail@gmail.com?  If so, congratulations – you’ve found an email alias. This has become a fairly common practice with Google and Microsoft email addresses. Users are able to create unlimited alias addresses by appending a plus sign to the end of the local part of their email address.

What can we do about alias addresses?

Alias addresses are used for a variety of reasons, from testing signups (as you may have done) to circumventing terms of service (if you can only have one account per email address) or to ensure companies don’t share a users email address, and to classify email, especially as junk or spam.

We’re excited to share that our email verification service is now able to identify these alias addresses for you and return the root address. We strongly encourage you to continue to use the email provided by the user, but this information, as is shown below, can be used to track users who attempt to sign up for multiple accounts using a single email address

How does it work?

We classify email addresses as alias addresses if they contain characters that could be removed without affecting the destination of an email. Periods and plus signs are the main offenders here but different providers allow for different characters to be used for this kind of alias address.

Gmail addresses allow users to add periods and plus signs to their addresses without affecting the destination of email. Periods can be placed anywhere in the local part of an address. Plus signs must be placed after the local part but before the @. The user can then write anything they want after the plus sign. The text after the plus sign is often used as a tag, and may be used to identify your company if you’re selling email addresses.

Outlook and Hotmail addresses treat plus signs the same way as Gmail addresses, but periods cannot be added to an address without altering the destination of the email.

The curious case of Yahoo disposable addresses

Users of Yahoo Mail do not have these alias addresses available to them, but they do have an interesting alternative. Yahoo allows users to create disposable email addresses. These are distinct from the above mentioned alias addresses, because they must be manually created, they can be deleted at any time, and they cannot be traced back to the root address. When a user deletes one of these addresses, any mail arriving at the inbox will be bounced.

To create a Yahoo disposable address, users must first define a new “base name”. This name can be anything and does not need to be related to their username. Once a base name is defined, the user may create up to 500 disposable addresses, each using the base name plus a keyword separated by a hyphen.

For example, username@yahoo.com could create a basename of “disposable” then create the keyword “spam” to send/receive mail with the address disposable-spam@yahoo.com. Since we cannot identify the root address, and these addresses are easily detectable, we mark them as disposable addresses with the reason “long_term_disposable”.

To recap...

Alias address identification is available on Foundation, Growth and Scale plans. Give it a try and improve the security of your platform and your email deliverability and reputation. Trust us, it’s worth it.

Related readings

Here’s how to track email opens in Gmail with email tracking

Sending email campaigns doesn’t have to feel like you’re throwing darts into a black hole. Email analytics are a great way to determine the health of your ecommerce campaign and...

Read more

Everything you need to know about sending email with APIs

Are you creating an e-commerce web page that needs to send transactional emails to customers? A developer building a web application that needs to send messages to email...

Read more

A practical guide to using Mailgun’s webhooks

Transactional emails are essential for most apps. We send welcome emails, password...

Read more

Popular posts

Email inbox.

Build Laravel 10 email authentication with Mailgun and Digital Ocean

When it was first released, Laravel version 5.7 added a new capability to verify user’s emails. If you’ve ever run php artisan make:auth within a Laravel app you’ll know the...

Read more

Mailgun statistics.

Sending email using the Mailgun PHP API

It’s been a while since the Mailgun PHP SDK came around, and we’ve seen lots of changes: new functionalities, new integrations built on top, new API endpoints…yet the core of PHP...

Read more

Statistics on deliverability.

Here’s everything you need to know about DNS blocklists

The word “blocklist” can almost seem like something out of a movie – a little dramatic, silly, and a little unreal. Unfortunately, in the real world, blocklists are definitely something you...

Read more

See what you can accomplish with the world's best email delivery platform. It's easy to get started.Let's get sending
CTA icon