Before using the script, you will need to change the "NUMBER" at the top of the file.
I've been using this for months, calling it from procmail when the sender matches a small whitelist. It's a great substitute for "biff", except that it can interrupt my lunch or a sound sleep if I'm not careful to turn off my phone.
Here's my procmail recipe for the use of mail2page:
:0c * ^From:.*(series|of|whitelisted|senders) | .home/jepler/bin/mail2page.py
The upated version has improved handling of multipart messages.
Files currently attached to this page:
mail2page.py | 2.8kB |