Emails are sent when subjects are randomized, and tests added, closes #3.