fix mail sync
fix storage
change alerts to log
send message now works