'Send an email to a user via SendGrid.'

def send_message(self, message='', **kwargs):

    subject = kwargs.get(ATTR_TITLE, ATTR_TITLE_DEFAULT)
    data = {'personalizations': [{'to': [{'email': self.recipient}], 'subject': subject}], 'from': {'email': self.sender}, 'content': [{'type': 'text/plain', 'value': message}]}
    response = self._sg.client.mail.send.post(request_body=data)
    if (response.status_code != 202):
        _LOGGER.error('Unable    to    send    notification')
