adding retry logic to email sending
Merge pull request #1640 from AppScale/email-retry

adding retry logic to email sending