You can get burner like functionality in ProtonMail by using a custom sieve filter, and catch-all email — here is how.
Our custom sieve filter will:
- Only filter email for the catch-all/burner domain
- Discard emails sent to an blocked aliases
- Move incoming emails to a “Catch-all” folder, and mark them as read — unless the recipient alias is in the allow list
The domain, in this example
helloworld.com
, must have catch-all enabled.
require ["fileinto", "imap4flags", "extlists"];
if address :domain "to" "helloworld.com"
{
## Blocked aliases
if anyof(
address :localpart "to" "facebook",
address :localpart "to" "twitter"
)
{
discard;
}
## Accepted recipients
elsif not anyof(
address :localpart "to" "reddit",
address :localpart "to" "me"
)
{
addflag "\\Seen";
fileinto "Catch-all";
}
}
Note that emails sent to both a blocked and accepted recipient; will be discarded because of the first check.
Okey, so the filter above does the following:
- Permanently deletes email sent to
facebook@helloworld.com
andtwitter@helloworld.com
- Move all emails NOT sent to
reddit@helloworld.com
orme@helloworld.com
into the folder Catch-all and mark them read
There are plenty of services out here that does this more elegantly, like:
But for me the sieve filter solution works good enough, and lets me keep all my emails within ProtonMail.
Last commit 2024-11-11, with message: Add lots of tags to posts.