Lurker News
Dear Sender:

There's nothing more annoying than clicking that 'unsubscribe' link at the bottom of your email only to be asked to login first. I know it sucks when people opt-out of your transactional emails, but deal with it and let people unsubscribe with one click. If you do this you may even get some valuable feedback.
If your transactional email provider doesn't have a single-click unsubscribe option, find another service. I recommend every developer test out what a recipient sees.
Sincerely,
Users of the Internet

Comments (133) 58 threads

Earlier comments
bryanh2 replies#
At Zapier, we jumped through a lot of extra hoops to make sure that emails are categorized and you can easily opt-out with a single click (no matter if you are logged in or not). Some emails cannot be opted out of (the only two right now are payment transactions and forgotten/reset password) but everything else can be.

We have a lot of other cool stuff in emails like single click logins, viewing pixels with custom payloads, our open source drip campaign mailer for Django, and much more. If there is any interest, I'd be happy to go into deeper detail.

mmahemoff1 reply#
I'd be interested if you have details on handling single-click login as securely as possible.
bryanh1 reply#
Sure!

Basically, reuse a lot of signing functions that you might find in a library (IE: Django's https://docs.djangoproject.com/en/dev/topics/signing/), don't roll your own. Then, keep track of last login IP address and block auto-logins when they mismatch. Then, set a max age for the login links to work (for example, 24 hours). There are a few other things we do as well, but those are the major ones.
Those three combined are fairly secure.

mmahemoff#
Thanks. You said "last login IP". If it's a single IP, I guess you're talking about transactional mails the user has triggered. If it was marketing mails, you'd surely want to compare against a list of recent IPs, not just the very last, wouldn't you?
adrr#
We do the same and just got our first request to unsubscribe from our receipt emails since we don't provide an unsubscribe link on it. Waiting for our first person to complain about our reset password email, have a feeling its coming soon.
drewhouston2#
I always mark mails as spam if it takes more than one click to unsubscribe.
allochthon#
I'm inclined to think requiring the login is an intentional choice in most cases rather than an oversight; it raises a barrier to unsubscribing, and can even make it impossible, if you never set up an account in the first place. It's sort of like saying you can unsubscribe if you like, without actually providing the option; it offers plausible deniability.

I just click on "Spam" and, if it continues, set up a filter to /dev/null.

Load more comments