Convert emails into textfiles
I have been asked from a company to create a mechanism to send a text message (sms) when a email is sent to an internal email address (like "smsalert at mycompany dot com).
In order to do it, I needed a text-based email client to convert the email into a plain text file. Then I need an application to read the file and send it to a 3G dongle.
I can't find a good solution to read the emails via command line. I've tried "mutt" but it is badly documented and I can't get how to run a macro.