commented out debug code
Added a 5 second delay to email send