bug fix: email sent to gmail addresses issue