added validation to safe_mail