works great - Thanks! a lot of scripting - hmm it would be great if the deleted mails stay in archive for a certain time - in case of wrong deletion or recovery option.
Thanks for the feedback — glad it’s working well for you!
You’re right, having a recovery buffer is a smart idea. I’ll look into modifying the workflow to move emails to Archive or a custom label (like “To Be Deleted”) first, and then auto-delete them after a few days. That way, you’d have a window for recovery before permanent deletion.
Appreciate the suggestion!
I created a similar workflow. But instead of deleting the emails, I use labels: Add the label TRASH, remove the label INBOX. Now the emails appear in your normal trash folder which are deleted after 30 days anyway.