Fix to actually call the test email function.