Fix mail test send endpoint

Closes #3071
-Inject a test payload into the mail api from the route
 handler.
-Remove sendTest method from the mail api.