flashmob / go-guerrilla

Mini SMTP server written in golang
MIT License
2.77k stars 365 forks source link

I need a build a service for expiring e-mail #231

Open mwm341 opened 2 years ago

mwm341 commented 2 years ago

...but I need a certain amount of control, so I can get things like

appointments@xxx.com medical@xxx.com styling@xxx.com opthalmology@xxx.com oncology@xxx.com banking@xxx.com grocerylist@xxx.com

...each with a separate expiry date, so that the source, subject and first line of each message shows up on my smart mirror, and each message stay around for an arbitrary number of few hours, days or months or more.

That way, when I get what my best email address is, I can give one that immediately classifies the material I get ("Send it to wombatcare@xxx.com") AND keeps volume under control.

If I do it properly, it beats the crap out of Google Home AND Calendar...

Ideas?

lllama commented 2 years ago

One approach would be to include the expiry date in the user (e.g. appointments+20221212@xxx.com) and then have go-guerrilla check that and reject as needed.