5 ms·
As an extension to this on Google Apps you can do mail routing based on regex rules. I have an email address bs_(.)@... that forwards to my primary inbox. You d
by zwayhowder 9y ago
As an extension to this on Google Apps you can do mail routing based on regex rules. I have an email address bs_(.)@... that forwards to my primary inbox. You do have to be the admin to set these up.
I did this as a lot of places don't include a + in their email validation and I was sick of it. I did try a service mailhero.io but for privacy (I know, I know, I'm on Google, what privacy) I wanted a self managed solution.
Now with this script I'm going to change my catchall to a handful of phrases
orders_(.)@...
confs_(.)@...
paywalls_(.)@...
newsletters_(.)@...
home_(.)@...
That way I can autolabel on the first word and group labels logically instead of a label for every new email address...
- zwayhowder 9y agoAnd now I find that you can do regex searches in filters, so a filter for orders_(.*)@... works. Although Google Apps routing still allows more cool things like hidden headers that filters can't search on, but App Script can... I'm going to have a busy weekend.