Mailjet Email Sending - Subject is Missing

Mailjet Node seems not sending the Subject parameter given.

{
  "name": "pContactWelcome",
  "nodes": [
    {
      "parameters": {},
      "name": "Start",
      "type": "n8n-nodes-base.start",
      "typeVersion": 1,
      "position": [
        560,
        480
      ]
    },
    {
      "parameters": {
        "fromEmail": "[email protected]",
        "toEmail": "={{$node[\"Mock Form Data\"].json[\"email\"]}}",
        "subject": "=Hi {{$node[\"Mock Form Data\"].json[\"firstname\"]}}We got your Message!",
        "text": "=We will write you back as soon as possible! Or we can drop a call on {{$node[\"Mock Form Data\"].json[\"phone\"]}}",
        "additionalFields": {}
      },
      "name": "Mailjet",
      "type": "n8n-nodes-base.mailjet",
      "typeVersion": 1,
      "position": [
        1000,
        380
      ],
      "credentials": {
        "mailjetEmailApi": ""
      }
    },
    {
      "parameters": {
        "functionCode": "return [{\n    json: {\n      firstname: 'john',\n      email: '[email protected]',\n      subject: 'Email Subject',\n      phone: '555-908753'\n    }\n}]"
      },
      "name": "Mock Form Data",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        800,
        380
      ]
    }
  ],
  "connections": {
    "Start": {
      "main": [
        []
      ]
    },
    "Mock Form Data": {
      "main": [
        [
          {
            "node": "Mailjet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {},
  "id": "15"
}

Hey @umutgokcen. Just checked and you are right, there is a small bug in there. I just fixed it and sent a pull request. @jan will let you know when is released. Thanks for letting us know.

2 Likes

Great, thank you for the fast action.

Fix got released with [email protected]

1 Like