fixed manual_mail bug