safe_mail application fix