added 'resume' optional parameter for email sending endpoints

Fixes #762
Are you losing any valuable test coverage here or is all this deleted code basically redundant?