I am trying to create a filter within Proton Mail, that adds a label ‘mailing list’ whenever Proton marks an email as from a mailing list.

It doesn’t seem so easily possible as far as i can tell and I don’t have the time (or will at the moment) to try and create it with a Sieve filter.

Is there an easy way to do this?

  • Nelizea@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 months ago

    Often such emails have a “List-Unsubscribe” header entry, thus you could check on that.

    if allof(
        exists "List-Unsubscribe"
    ) { 
        fileinto "mailing list";
    }