Started on email test.

This isn't completely done yet, for we have some stuff to talk about
regarding emails.