Official Plugins (Kuzzle v2.x)
Hermes Messenger v0.x
2

sendEmail #

Sends an email using one of the registered Sendgrid accounts.


Query Syntax #

HTTP #

Copied to clipboard!
URL: http://kuzzle:7512/_/hermes/sendgrid/email
Method: POST

Other protocols #

Copied to clipboard!
{
  "controller": "hermes/sendgrid",
  "action": "sendEmail",
  "account": "<account name>",
  "body": {
    "to": ["<recipient1 email>", "<recipient2 email>"],
    "subject": "<email subject>",
    "html": "<email body>",
    "from": "<sender email>", // optional
  }
}

Kourou #

Copied to clipboard!
kourou hermes/sendgrid:sendEmail -a account=<account name> --body '{
  "from": "<sender email>",
  "to": ["<recipient1 email>", "<recipient2 email>"],
  "subject": "<email subject>",
  "html": "<email body>",
}'