Update util.py

Added None check for mail['Body'] in sendmail_wrapper