email function(SES) completed