test mail fix bug