I am trying to set up a email filter for us to auto delete emails coming from a specific email addresses. I've followed Protons guides on their website but just want to make sure that im doing the right thing.
require ["fileinto", "vnd.proton.expire"];
if address :is "to" "example@example.com" {
expire "day" "180";
fileinto "Onboarding";
stop;
}
The emails already filter into a folder called "Onboarding."
the whole point is we want it so that an email comes in and it self deletes after 180 days