modify a bug that can send one mail.