Second version for aws-ses mail, add callback to return log