Fri May 15, 2015 12:09 am
Google ssmtp for sending emails and Google fetchmail for receiving emails. If you get to grips with the command line interfaces creating a bash script should be straight-forward. You might want to consider using cron to automate polling for incoming emails.
JohnK.