Make script suitable for use with cron
Add installation script
Add automatic msmtp configuration for gmail accounts