• dan@upvote.au
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      11 months ago

      Gmail does it. Emails from mailing lists often have a header that specifies an email address you can email to unsubscribe (you just need to send an empty email with a subject of “unsubscribe” to the address). Gmail detects this header and asks you if you want to unsubscribe instead of marking as spam. If you do, it sends the unsubscribe email for you.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Sorry, I meant a header as in where the things like the subject line, servers it was sent via, etc. are stored. It’s a part of the email that isn’t user-visible. The unsubscribe email isn’t visible to the user unless you view the raw source of the email, but email clients can use it.

          I know marking as spam isn’t the same as unsubscribing. Gmail is trying to suggest unsubscribing instead of marking as spam which is reasonable (why mark it as spam when you could just unsubscribe and never get it in the first place?)