fixes #6436 sendgrid stats retriever