Automatic disposable email addresses for Google Apps

Plus Suffixing

There’s a pretty nifty feature with gmail that most people don’t know about. I’ve seen people reference it as the “plus hack” or “plus suffixing”. If you have [email protected], you can add a “+” followed by any letters and numbers, and it will still be delivered to [email protected].

I’ve been using this for corporate email forms — if facebook wants an email, they get matthew+facebook, for example. I can then add a precise filter on that “To:” address and delete all email from that company if it “goes evil.”

There’s a glitch in plus suffixing, though — most web forms don’t realize that the plus sign is a totally valid email character, and will reject your plus-suffixed hack.

So what to do?

Well, if you’re using gmail, you’re out of luck. But if you’re using a google apps account for a custom domain (say, your company or family), and you are an administrator for that domain, you can enable “minus suffixing”!

Router bot to the rescue

Note that you must be an administrator of your google apps account to make this work.

Log into your google apps dashboard. If you’re in your email account, there will be a “Manage this domain” link that will take you to the dashboard.

Picture 8First create a “router bot” account.

  1. Click “Users and Groups
  2. Click “Create a new user
  3. Enter “Router” for first name,
  4. “Bot” for last name
  5. “router” for the username
  6. Copy the temporary password for later
  7. Click the “create new user” button
    Picture 11

Tell “Catch-all” to use the router bot.

  1. Click “Service Settings” then “Email
  2. In the “Catch-all address” section, choose “Forward the email to:” and enter “router
  3. Click “Save changes” at the bottom of the page

Configure the router bot

  1. Log into the “router” account’s email
  2. Click “Settings
  3. Click “Filters
  4. Then for each user you want to enable routing for, do these steps:
    1. Let’s say the username is bob
    2. Click “Create a new filter
    3. For the user you want to enable routing for, enter the username (“bob”) , followed by a dash (“-”), in the “To:” column
    4. Click “next step
    5. Check “Forward it to:” and enter the user’s full email address (like “[email protected]”)
    6. Check “Delete it” as well.
    7. Click “Create Filter

Test it out

Sending an email to “[email protected]” should be delivered to “[email protected]”.

If you want “dot-suffixing” (so [email protected] would go to [email protected]), just add another filter to the routerbot that looks for “To: bob.” and forwards to bob.

Tagged with: ,
Posted in Technical HOWTOs