mail script: check for None values