adding some error handling to email subscription