The test app will retry the SendGrid service for 5 minutes upon initial
failure.

There seems to be a delay for the SendGrid credentials to take effect.
We will retry the credentials for 5 minutes if the service does not work
immediately, so that they will eventually work if they are indeed the
correct credentials.

[finishes #57423552]