Unit tests, add a check to see if we need to send mail on new account.