Wrote email test