Understanding the magic behind unlimited email aliases
Gmail ignores dots (periods) in email addresses. This means all these variations deliver to the same inbox:
๐ For a 7-character username, this creates 2^6 = 64 unique variations!
Gmail ignores everything after a plus sign (+) in your email address. You can add any label after the + to create unlimited aliases:
๐ฏ Perfect for organizing emails and tracking where your email address is used!
When you combine both tricks, the possibilities multiply exponentially! Each dot variation can be combined with each plus label:
๐ For "example" with 4 plus labels: 64 dot variations ร 4 plus labels = 256 total aliases!
Use different aliases for work, personal, shopping, and newsletters to automatically sort incoming emails.
Track which websites sell or leak your email address by using unique aliases for each service.
Create multiple accounts on platforms that limit one account per email address.
Generate test email addresses for development and QA without creating multiple Gmail accounts.
The number of dot variations for a username of length 'n' is 2^(n-1). For example, a 10-character username can generate 2^9 = 512 dot variations. When combined with 'm' plus labels, the total permutations become 2^(n-1) * m. This grows very rapidly!
While the mathematical possibilities are vast, practical limits exist. Generating millions of permutations can consume significant server resources (memory, CPU) and take a long time, potentially leading to timeouts for our serverless functions. For example, a 20-character username with dot trick alone would generate 2^19 (over 500,000) permutations, and adding just a few plus labels would quickly push this into the millions.
Our system has a server-side limit of **2,500,000 total permutations** to ensure stability and responsiveness for all users. If your input would generate more than this, the request will be rejected.
Even after generation, displaying a very large number of permutations in your browser can cause lag. Each permutation is a small piece of text, but rendering hundreds of thousands or millions of these elements in the browser's memory can slow down your device, especially on older hardware or mobile.
To mitigate this, we use **virtual scrolling** which only renders the items currently visible on your screen, plus a small buffer. However, to maintain a smooth experience, we limit the *displayed* permutations to **200,000**. If your generation exceeds this, you'll see a message, and you can still download the full list.