Watcher fails to send email

Hi. I am currently using the trial version of elastic cloud.
I have setup a watch alert which will send email daily.
I have whitelisted my email address. But still, it shows execution failing.
My actual mail address is replaced to "test.gmail.com"
Please let me know if I am missing any step. Thanks!

My Watch JSON:

  "actions": {
    "send_email": {
      "email": {
        "profile": "standard",
        "to": [
          "test@gmail.com"
        ],
        "subject": "Watcher Notification",
        "body": {
          "text": "error logs found"
        }
      }
    }
  }

The error message:

    "actions": [
      {
        "id": "send_email",
        "type": "email",
        "status": "failure",
        "error": {
          "root_cause": [
            {
              "type": "messaging_exception",
              "reason": "failed to send email with subject [Watcher Notification] via account [work]"
            }
          ],
          "type": "messaging_exception",
          "reason": "failed to send email with subject [Watcher Notification] via account [work]",
          "caused_by": {
            "type": "send_failed_exception",
            "reason": "Invalid Addresses",
            "caused_by": {
              "type": "s_m_t_p_address_failed_exception",
              "reason": "554 5.7.1 <test@gmail.com>: Recipient address rejected: Access denied\n"
            }
          }
        }
      }
    ]
  }

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.