added success status to email