added amazon SES compatibility using boto library and created automated email on error