@camunda/connectors-element-templates 1.0.16 → 1.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -0
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
  12. package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
  13. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +484 -486
  14. package/src/element-templates/asana-connector.json +718 -7
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
  16. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
  17. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
  18. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
  19. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
  20. package/src/element-templates/aws-bedrock-outbound-connector.json +788 -51
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
  29. package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
  30. package/src/element-templates/aws-s3-outbound-connector.json +656 -15
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +56 -52
  32. package/src/element-templates/aws-sns-inbound-boundary.json +422 -415
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
  34. package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +139 -132
  37. package/src/element-templates/aws-sns-outbound-connector.json +593 -589
  38. package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
  40. package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
  43. package/src/element-templates/aws-sqs-start-message.json +465 -461
  44. package/src/element-templates/aws-textract-outbound-connector.json +298 -294
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +598 -53
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +39 -31
  50. package/src/element-templates/easy-post-connector.json +1017 -49
  51. package/src/element-templates/email-inbound-connector-boundary.json +32 -24
  52. package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +45 -37
  55. package/src/element-templates/email-outbound-connector.json +2129 -256
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
  57. package/src/element-templates/github-connector.json +12447 -5385
  58. package/src/element-templates/github-webhook-connector-boundary.json +11 -13
  59. package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
  60. package/src/element-templates/github-webhook-connector-message-start.json +19 -21
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +62 -64
  63. package/src/element-templates/gitlab-connector.json +2974 -1342
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
  65. package/src/element-templates/google-drive-outbound-connector.json +882 -262
  66. package/src/element-templates/google-gemini-outbound-connector.json +117 -109
  67. package/src/element-templates/google-maps-platform-connector.json +1048 -19
  68. package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
  69. package/src/element-templates/graphql-outbound-connector.json +1780 -1193
  70. package/src/element-templates/http-json-connector.json +2832 -2168
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
  72. package/src/element-templates/http-polling-connector.json +1642 -966
  73. package/src/element-templates/hubspot-outbound-connector.json +2376 -30
  74. package/src/element-templates/hugging-face-connector.json +432 -5
  75. package/src/element-templates/jdbc-outbound-connector.json +62 -48
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +436 -430
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
  85. package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
  87. package/src/element-templates/openai-connector.json +608 -145
  88. package/src/element-templates/operate-connector.json +1218 -66
  89. package/src/element-templates/power-automate-connector.json +602 -10
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
  95. package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +583 -39
  98. package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
  99. package/src/element-templates/send-message-connector-message-end-event.json +10 -5
  100. package/src/element-templates/send-message-connector-send-task.json +10 -5
  101. package/src/element-templates/sendgrid-outbound-connector.json +1406 -798
  102. package/src/element-templates/servicenow-connector.json +971 -3
  103. package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
  104. package/src/element-templates/servicenow-incident-connector.json +980 -3
  105. package/src/element-templates/slack-inbound-boundary.json +639 -341
  106. package/src/element-templates/slack-inbound-intermediate.json +393 -95
  107. package/src/element-templates/slack-inbound-message-start.json +678 -348
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +332 -327
  110. package/src/element-templates/slack-outbound-connector.json +3313 -919
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1521 -41
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
  114. package/src/element-templates/twilio-webhook-connector.json +238 -8
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
  116. package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
  117. package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
  118. package/src/element-templates/uipath-connector.json +607 -15
  119. package/src/element-templates/webhook-connector-boundary.json +1986 -1331
  120. package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
  121. package/src/element-templates/webhook-connector-receive.json +654 -0
  122. package/src/element-templates/webhook-connector-start-event.json +1261 -700
  123. package/src/element-templates/webhook-connector-start-message.json +1754 -1067
  124. package/src/element-templates/whatsapp-connector.json +339 -5
@@ -4,18 +4,1891 @@
4
4
  "name": "Email Connector",
5
5
  "id": "io.camunda.connectors.email.v1",
6
6
  "description": "Execute email requests",
7
- "metadata": {
8
- "keywords": [
9
- "send emails",
10
- "list emails",
11
- "search emails",
12
- "delete emails",
13
- "read emails",
14
- "move emails"
15
- ]
7
+ "keywords": [
8
+ "send emails",
9
+ "list emails",
10
+ "search emails",
11
+ "delete emails",
12
+ "read emails",
13
+ "move emails",
14
+ "send email",
15
+ "delete email",
16
+ "read email",
17
+ "move email",
18
+ "IMAP",
19
+ "SMTP",
20
+ "POP3",
21
+ "inbox"
22
+ ],
23
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
24
+ "version": 5,
25
+ "category": {
26
+ "id": "connectors",
27
+ "name": "Connectors"
28
+ },
29
+ "appliesTo": ["bpmn:Task"],
30
+ "elementType": {
31
+ "value": "bpmn:ServiceTask"
32
+ },
33
+ "engines": {
34
+ "camunda": "^8.10"
16
35
  },
36
+ "groups": [
37
+ {
38
+ "id": "authentication",
39
+ "label": "Authentication"
40
+ },
41
+ {
42
+ "id": "protocol",
43
+ "label": "Protocol"
44
+ },
45
+ {
46
+ "id": "smtpAction",
47
+ "label": "SMTP Action"
48
+ },
49
+ {
50
+ "id": "pop3Action",
51
+ "label": "POP3 Action"
52
+ },
53
+ {
54
+ "id": "imapAction",
55
+ "label": "IMAP Action"
56
+ },
57
+ {
58
+ "id": "sendEmailSmtp",
59
+ "label": "Send Email"
60
+ },
61
+ {
62
+ "id": "listEmailsPop3",
63
+ "label": "List Emails"
64
+ },
65
+ {
66
+ "id": "searchEmailsPop3",
67
+ "label": "Search Emails"
68
+ },
69
+ {
70
+ "id": "deleteEmailPop3",
71
+ "label": "Delete Email"
72
+ },
73
+ {
74
+ "id": "readEmailPop3",
75
+ "label": "Read Email"
76
+ },
77
+ {
78
+ "id": "listEmailsImap",
79
+ "label": "List Email"
80
+ },
81
+ {
82
+ "id": "searchEmailsImap",
83
+ "label": "Search Emails"
84
+ },
85
+ {
86
+ "id": "readEmailImap",
87
+ "label": "Read Email"
88
+ },
89
+ {
90
+ "id": "deleteEmailImap",
91
+ "label": "Read Email"
92
+ },
93
+ {
94
+ "id": "moveEmailImap",
95
+ "label": "Move Emails"
96
+ },
97
+ {
98
+ "id": "connector",
99
+ "label": "Connector"
100
+ },
101
+ {
102
+ "id": "output",
103
+ "label": "Output mapping"
104
+ },
105
+ {
106
+ "id": "error",
107
+ "label": "Error handling"
108
+ },
109
+ {
110
+ "id": "retries",
111
+ "label": "Retries"
112
+ }
113
+ ],
114
+ "properties": [
115
+ {
116
+ "value": "io.camunda:email:1",
117
+ "binding": {
118
+ "property": "type",
119
+ "type": "zeebe:taskDefinition"
120
+ },
121
+ "type": "Hidden"
122
+ },
123
+ {
124
+ "id": "authentication.type",
125
+ "label": "Authentication",
126
+ "description": "Specify the Email authentication strategy. None is only supported for SMTP.",
127
+ "value": "simple",
128
+ "group": "authentication",
129
+ "binding": {
130
+ "name": "authentication.type",
131
+ "type": "zeebe:input"
132
+ },
133
+ "type": "Dropdown",
134
+ "choices": [
135
+ {
136
+ "name": "Simple",
137
+ "value": "simple"
138
+ },
139
+ {
140
+ "name": "None",
141
+ "value": "noAuth"
142
+ }
143
+ ]
144
+ },
145
+ {
146
+ "id": "authentication.simpleAuthenticationUsername",
147
+ "label": "Username",
148
+ "optional": false,
149
+ "constraints": {
150
+ "notEmpty": true
151
+ },
152
+ "feel": "optional",
153
+ "group": "authentication",
154
+ "binding": {
155
+ "name": "authentication.username",
156
+ "type": "zeebe:input"
157
+ },
158
+ "condition": {
159
+ "property": "authentication.type",
160
+ "equals": "simple",
161
+ "type": "simple"
162
+ },
163
+ "tooltip": "Enter your full email address (e.g., user@example.com) or the username provided by your email service. This is used to authenticate your access to the mail server.",
164
+ "type": "String"
165
+ },
166
+ {
167
+ "id": "authentication.simpleAuthenticationPassword",
168
+ "label": "Email password",
169
+ "optional": false,
170
+ "constraints": {
171
+ "notEmpty": true
172
+ },
173
+ "feel": "optional",
174
+ "group": "authentication",
175
+ "binding": {
176
+ "name": "authentication.password",
177
+ "type": "zeebe:input"
178
+ },
179
+ "condition": {
180
+ "property": "authentication.type",
181
+ "equals": "simple",
182
+ "type": "simple"
183
+ },
184
+ "tooltip": "Enter the password associated with your email account. Keep your password secure and do not share it with others.",
185
+ "type": "String"
186
+ },
187
+ {
188
+ "id": "protocol",
189
+ "label": "Email Protocol",
190
+ "value": "smtp",
191
+ "group": "protocol",
192
+ "binding": {
193
+ "name": "protocol",
194
+ "type": "zeebe:input"
195
+ },
196
+ "type": "Dropdown",
197
+ "choices": [
198
+ {
199
+ "name": "IMAP",
200
+ "value": "imap"
201
+ },
202
+ {
203
+ "name": "POP3",
204
+ "value": "pop3"
205
+ },
206
+ {
207
+ "name": "SMTP",
208
+ "value": "smtp"
209
+ }
210
+ ]
211
+ },
212
+ {
213
+ "id": "data.imapHost",
214
+ "label": "IMAP Host",
215
+ "optional": false,
216
+ "constraints": {
217
+ "notEmpty": true
218
+ },
219
+ "feel": "optional",
220
+ "group": "protocol",
221
+ "binding": {
222
+ "name": "data.imapConfig.imapHost",
223
+ "type": "zeebe:input"
224
+ },
225
+ "condition": {
226
+ "property": "protocol",
227
+ "equals": "imap",
228
+ "type": "simple"
229
+ },
230
+ "tooltip": "Enter the address of the IMAP server used to retrieve your emails. This server allows you to sync your messages across multiple devices. (e.g., imap.example.com)",
231
+ "type": "String"
232
+ },
233
+ {
234
+ "id": "data.imapPort",
235
+ "label": "IMAP Port",
236
+ "optional": false,
237
+ "value": 993,
238
+ "constraints": {
239
+ "notEmpty": true
240
+ },
241
+ "feel": "optional",
242
+ "group": "protocol",
243
+ "binding": {
244
+ "name": "data.imapConfig.imapPort",
245
+ "type": "zeebe:input"
246
+ },
247
+ "condition": {
248
+ "property": "protocol",
249
+ "equals": "imap",
250
+ "type": "simple"
251
+ },
252
+ "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
253
+ "type": "Number"
254
+ },
255
+ {
256
+ "id": "imapCryptographicProtocol",
257
+ "label": "Encryption protocol",
258
+ "optional": false,
259
+ "value": "TLS",
260
+ "constraints": {
261
+ "notEmpty": true
262
+ },
263
+ "group": "protocol",
264
+ "binding": {
265
+ "name": "data.imapConfig.imapCryptographicProtocol",
266
+ "type": "zeebe:input"
267
+ },
268
+ "condition": {
269
+ "property": "protocol",
270
+ "equals": "imap",
271
+ "type": "simple"
272
+ },
273
+ "tooltip": "Select the encryption protocol for email security.",
274
+ "type": "Dropdown",
275
+ "choices": [
276
+ {
277
+ "name": "TLS",
278
+ "value": "TLS"
279
+ },
280
+ {
281
+ "name": "SSL",
282
+ "value": "SSL"
283
+ },
284
+ {
285
+ "name": "None",
286
+ "value": "NONE"
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "id": "data.pop3Host",
292
+ "label": "POP3 Host",
293
+ "optional": false,
294
+ "constraints": {
295
+ "notEmpty": true
296
+ },
297
+ "feel": "optional",
298
+ "group": "protocol",
299
+ "binding": {
300
+ "name": "data.pop3Config.pop3Host",
301
+ "type": "zeebe:input"
302
+ },
303
+ "condition": {
304
+ "property": "protocol",
305
+ "equals": "pop3",
306
+ "type": "simple"
307
+ },
308
+ "tooltip": "Enter the address of the POP3 server if you want to download your emails to a single device. This server is typically used for retrieving emails without syncing. (e.g., pop.example.com)",
309
+ "type": "String"
310
+ },
311
+ {
312
+ "id": "data.pop3Port",
313
+ "label": "POP3 Port",
314
+ "optional": false,
315
+ "value": 995,
316
+ "constraints": {
317
+ "notEmpty": true
318
+ },
319
+ "feel": "optional",
320
+ "group": "protocol",
321
+ "binding": {
322
+ "name": "data.pop3Config.pop3Port",
323
+ "type": "zeebe:input"
324
+ },
325
+ "condition": {
326
+ "property": "protocol",
327
+ "equals": "pop3",
328
+ "type": "simple"
329
+ },
330
+ "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
331
+ "type": "Number"
332
+ },
333
+ {
334
+ "id": "pop3CryptographicProtocol",
335
+ "label": "Cryptographic protocol",
336
+ "optional": false,
337
+ "value": "TLS",
338
+ "constraints": {
339
+ "notEmpty": true
340
+ },
341
+ "group": "protocol",
342
+ "binding": {
343
+ "name": "data.pop3Config.pop3CryptographicProtocol",
344
+ "type": "zeebe:input"
345
+ },
346
+ "condition": {
347
+ "property": "protocol",
348
+ "equals": "pop3",
349
+ "type": "simple"
350
+ },
351
+ "tooltip": "Select the encryption protocol for email security.",
352
+ "type": "Dropdown",
353
+ "choices": [
354
+ {
355
+ "name": "TLS",
356
+ "value": "TLS"
357
+ },
358
+ {
359
+ "name": "SSL",
360
+ "value": "SSL"
361
+ },
362
+ {
363
+ "name": "None",
364
+ "value": "NONE"
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "id": "data.smtpHost",
370
+ "label": "SMTP Host",
371
+ "optional": false,
372
+ "constraints": {
373
+ "notEmpty": true
374
+ },
375
+ "feel": "optional",
376
+ "group": "protocol",
377
+ "binding": {
378
+ "name": "data.smtpConfig.smtpHost",
379
+ "type": "zeebe:input"
380
+ },
381
+ "condition": {
382
+ "property": "protocol",
383
+ "equals": "smtp",
384
+ "type": "simple"
385
+ },
386
+ "tooltip": "Provide the address of the SMTP server used for sending emails. This server handles the delivery of your outgoing messages. (e.g., smtp.example.com)",
387
+ "type": "String"
388
+ },
389
+ {
390
+ "id": "data.smtpPort",
391
+ "label": "SMTP Port",
392
+ "optional": false,
393
+ "value": 587,
394
+ "constraints": {
395
+ "notEmpty": true
396
+ },
397
+ "feel": "optional",
398
+ "group": "protocol",
399
+ "binding": {
400
+ "name": "data.smtpConfig.smtpPort",
401
+ "type": "zeebe:input"
402
+ },
403
+ "condition": {
404
+ "property": "protocol",
405
+ "equals": "smtp",
406
+ "type": "simple"
407
+ },
408
+ "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
409
+ "type": "Number"
410
+ },
411
+ {
412
+ "id": "smtpCryptographicProtocol",
413
+ "label": "Cryptographic protocol",
414
+ "optional": false,
415
+ "value": "TLS",
416
+ "constraints": {
417
+ "notEmpty": true
418
+ },
419
+ "group": "protocol",
420
+ "binding": {
421
+ "name": "data.smtpConfig.smtpCryptographicProtocol",
422
+ "type": "zeebe:input"
423
+ },
424
+ "condition": {
425
+ "property": "protocol",
426
+ "equals": "smtp",
427
+ "type": "simple"
428
+ },
429
+ "tooltip": "Select the encryption protocol for email security.",
430
+ "type": "Dropdown",
431
+ "choices": [
432
+ {
433
+ "name": "TLS",
434
+ "value": "TLS"
435
+ },
436
+ {
437
+ "name": "SSL",
438
+ "value": "SSL"
439
+ },
440
+ {
441
+ "name": "None",
442
+ "value": "NONE"
443
+ }
444
+ ]
445
+ },
446
+ {
447
+ "id": "data.smtpActionDiscriminator",
448
+ "label": "SMTP action",
449
+ "value": "sendEmailSmtp",
450
+ "group": "smtpAction",
451
+ "binding": {
452
+ "name": "data.smtpActionDiscriminator",
453
+ "type": "zeebe:input"
454
+ },
455
+ "condition": {
456
+ "property": "protocol",
457
+ "equals": "smtp",
458
+ "type": "simple"
459
+ },
460
+ "type": "Dropdown",
461
+ "choices": [
462
+ {
463
+ "name": "Send Email",
464
+ "value": "sendEmailSmtp"
465
+ }
466
+ ]
467
+ },
468
+ {
469
+ "id": "data.pop3ActionDiscriminator",
470
+ "label": "POP3 action",
471
+ "value": "listEmailsPop3",
472
+ "group": "pop3Action",
473
+ "binding": {
474
+ "name": "data.pop3ActionDiscriminator",
475
+ "type": "zeebe:input"
476
+ },
477
+ "condition": {
478
+ "property": "protocol",
479
+ "equals": "pop3",
480
+ "type": "simple"
481
+ },
482
+ "type": "Dropdown",
483
+ "choices": [
484
+ {
485
+ "name": "Delete Email",
486
+ "value": "deleteEmailPop3"
487
+ },
488
+ {
489
+ "name": "List Emails",
490
+ "value": "listEmailsPop3"
491
+ },
492
+ {
493
+ "name": "Read Email",
494
+ "value": "readEmailPop3"
495
+ },
496
+ {
497
+ "name": "Search emails",
498
+ "value": "searchEmailsPop3"
499
+ }
500
+ ]
501
+ },
502
+ {
503
+ "id": "data.imapActionDiscriminator",
504
+ "label": "IMAP action",
505
+ "value": "listEmailsImap",
506
+ "group": "imapAction",
507
+ "binding": {
508
+ "name": "data.imapActionDiscriminator",
509
+ "type": "zeebe:input"
510
+ },
511
+ "condition": {
512
+ "property": "protocol",
513
+ "equals": "imap",
514
+ "type": "simple"
515
+ },
516
+ "type": "Dropdown",
517
+ "choices": [
518
+ {
519
+ "name": "Delete an email",
520
+ "value": "deleteEmailImap"
521
+ },
522
+ {
523
+ "name": "List emails",
524
+ "value": "listEmailsImap"
525
+ },
526
+ {
527
+ "name": "Move email",
528
+ "value": "moveEmailImap"
529
+ },
530
+ {
531
+ "name": "Read an email",
532
+ "value": "readEmailImap"
533
+ },
534
+ {
535
+ "name": "Search emails",
536
+ "value": "searchEmailsImap"
537
+ }
538
+ ]
539
+ },
540
+ {
541
+ "id": "smtpFrom",
542
+ "label": "From",
543
+ "optional": false,
544
+ "constraints": {
545
+ "notEmpty": true
546
+ },
547
+ "feel": "optional",
548
+ "group": "sendEmailSmtp",
549
+ "binding": {
550
+ "name": "data.smtpAction.from",
551
+ "type": "zeebe:input"
552
+ },
553
+ "condition": {
554
+ "allMatch": [
555
+ {
556
+ "property": "data.smtpActionDiscriminator",
557
+ "equals": "sendEmailSmtp",
558
+ "type": "simple"
559
+ },
560
+ {
561
+ "property": "protocol",
562
+ "equals": "smtp",
563
+ "type": "simple"
564
+ }
565
+ ]
566
+ },
567
+ "tooltip": "Address the email will be sent from",
568
+ "type": "String"
569
+ },
570
+ {
571
+ "id": "smtpTo",
572
+ "label": "To",
573
+ "optional": false,
574
+ "constraints": {
575
+ "notEmpty": true
576
+ },
577
+ "feel": "optional",
578
+ "group": "sendEmailSmtp",
579
+ "binding": {
580
+ "name": "data.smtpAction.to",
581
+ "type": "zeebe:input"
582
+ },
583
+ "condition": {
584
+ "allMatch": [
585
+ {
586
+ "property": "data.smtpActionDiscriminator",
587
+ "equals": "sendEmailSmtp",
588
+ "type": "simple"
589
+ },
590
+ {
591
+ "property": "protocol",
592
+ "equals": "smtp",
593
+ "type": "simple"
594
+ }
595
+ ]
596
+ },
597
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
598
+ "type": "String"
599
+ },
600
+ {
601
+ "id": "smtpCc",
602
+ "label": "Cc",
603
+ "optional": true,
604
+ "feel": "optional",
605
+ "group": "sendEmailSmtp",
606
+ "binding": {
607
+ "name": "data.smtpAction.cc",
608
+ "type": "zeebe:input"
609
+ },
610
+ "condition": {
611
+ "allMatch": [
612
+ {
613
+ "property": "data.smtpActionDiscriminator",
614
+ "equals": "sendEmailSmtp",
615
+ "type": "simple"
616
+ },
617
+ {
618
+ "property": "protocol",
619
+ "equals": "smtp",
620
+ "type": "simple"
621
+ }
622
+ ]
623
+ },
624
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
625
+ "type": "String"
626
+ },
627
+ {
628
+ "id": "smtpBcc",
629
+ "label": "Bcc",
630
+ "optional": true,
631
+ "feel": "optional",
632
+ "group": "sendEmailSmtp",
633
+ "binding": {
634
+ "name": "data.smtpAction.bcc",
635
+ "type": "zeebe:input"
636
+ },
637
+ "condition": {
638
+ "allMatch": [
639
+ {
640
+ "property": "data.smtpActionDiscriminator",
641
+ "equals": "sendEmailSmtp",
642
+ "type": "simple"
643
+ },
644
+ {
645
+ "property": "protocol",
646
+ "equals": "smtp",
647
+ "type": "simple"
648
+ }
649
+ ]
650
+ },
651
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
652
+ "type": "String"
653
+ },
654
+ {
655
+ "id": "smtpHeaders",
656
+ "label": "Headers",
657
+ "optional": true,
658
+ "feel": "required",
659
+ "group": "sendEmailSmtp",
660
+ "binding": {
661
+ "name": "data.smtpAction.headers",
662
+ "type": "zeebe:input"
663
+ },
664
+ "condition": {
665
+ "allMatch": [
666
+ {
667
+ "property": "data.smtpActionDiscriminator",
668
+ "equals": "sendEmailSmtp",
669
+ "type": "simple"
670
+ },
671
+ {
672
+ "property": "protocol",
673
+ "equals": "smtp",
674
+ "type": "simple"
675
+ }
676
+ ]
677
+ },
678
+ "tooltip": "Additional email headers",
679
+ "type": "String"
680
+ },
681
+ {
682
+ "id": "smtpSubject",
683
+ "label": "Subject",
684
+ "optional": false,
685
+ "constraints": {
686
+ "notEmpty": true
687
+ },
688
+ "feel": "optional",
689
+ "group": "sendEmailSmtp",
690
+ "binding": {
691
+ "name": "data.smtpAction.subject",
692
+ "type": "zeebe:input"
693
+ },
694
+ "condition": {
695
+ "allMatch": [
696
+ {
697
+ "property": "data.smtpActionDiscriminator",
698
+ "equals": "sendEmailSmtp",
699
+ "type": "simple"
700
+ },
701
+ {
702
+ "property": "protocol",
703
+ "equals": "smtp",
704
+ "type": "simple"
705
+ }
706
+ ]
707
+ },
708
+ "tooltip": "Email's subject",
709
+ "type": "String"
710
+ },
711
+ {
712
+ "id": "contentType",
713
+ "label": "ContentType",
714
+ "optional": false,
715
+ "value": "PLAIN",
716
+ "constraints": {
717
+ "notEmpty": true
718
+ },
719
+ "group": "sendEmailSmtp",
720
+ "binding": {
721
+ "name": "data.smtpAction.contentType",
722
+ "type": "zeebe:input"
723
+ },
724
+ "condition": {
725
+ "allMatch": [
726
+ {
727
+ "property": "data.smtpActionDiscriminator",
728
+ "equals": "sendEmailSmtp",
729
+ "type": "simple"
730
+ },
731
+ {
732
+ "property": "protocol",
733
+ "equals": "smtp",
734
+ "type": "simple"
735
+ }
736
+ ]
737
+ },
738
+ "tooltip": "Email's contentType",
739
+ "type": "Dropdown",
740
+ "choices": [
741
+ {
742
+ "name": "PLAIN",
743
+ "value": "PLAIN"
744
+ },
745
+ {
746
+ "name": "HTML",
747
+ "value": "HTML"
748
+ },
749
+ {
750
+ "name": "HTML & Plaintext",
751
+ "value": "MULTIPART"
752
+ }
753
+ ]
754
+ },
755
+ {
756
+ "id": "smtpBody",
757
+ "label": "Email Text Content",
758
+ "optional": false,
759
+ "feel": "optional",
760
+ "group": "sendEmailSmtp",
761
+ "binding": {
762
+ "name": "data.smtpAction.body",
763
+ "type": "zeebe:input"
764
+ },
765
+ "condition": {
766
+ "allMatch": [
767
+ {
768
+ "property": "contentType",
769
+ "oneOf": ["PLAIN", "MULTIPART"],
770
+ "type": "simple"
771
+ },
772
+ {
773
+ "property": "data.smtpActionDiscriminator",
774
+ "equals": "sendEmailSmtp",
775
+ "type": "simple"
776
+ },
777
+ {
778
+ "property": "protocol",
779
+ "equals": "smtp",
780
+ "type": "simple"
781
+ }
782
+ ]
783
+ },
784
+ "tooltip": "Email's content",
785
+ "type": "Text"
786
+ },
787
+ {
788
+ "id": "smtpHtmlBody",
789
+ "label": "Email Html Content",
790
+ "optional": false,
791
+ "feel": "optional",
792
+ "group": "sendEmailSmtp",
793
+ "binding": {
794
+ "name": "data.smtpAction.htmlBody",
795
+ "type": "zeebe:input"
796
+ },
797
+ "condition": {
798
+ "allMatch": [
799
+ {
800
+ "property": "contentType",
801
+ "oneOf": ["HTML", "MULTIPART"],
802
+ "type": "simple"
803
+ },
804
+ {
805
+ "property": "data.smtpActionDiscriminator",
806
+ "equals": "sendEmailSmtp",
807
+ "type": "simple"
808
+ },
809
+ {
810
+ "property": "protocol",
811
+ "equals": "smtp",
812
+ "type": "simple"
813
+ }
814
+ ]
815
+ },
816
+ "tooltip": "Email's Html content",
817
+ "type": "Text"
818
+ },
819
+ {
820
+ "id": "data_smtpAction_attachments_documentMode",
821
+ "label": "Number of documents",
822
+ "description": "Email's attachment. e.g., =[ document1, document2]",
823
+ "value": "none",
824
+ "group": "sendEmailSmtp",
825
+ "binding": {
826
+ "name": "data.smtpAction.data_smtpAction_attachments_documentMode",
827
+ "type": "zeebe:input"
828
+ },
829
+ "condition": {
830
+ "allMatch": [
831
+ {
832
+ "property": "data.smtpActionDiscriminator",
833
+ "equals": "sendEmailSmtp",
834
+ "type": "simple"
835
+ },
836
+ {
837
+ "property": "protocol",
838
+ "equals": "smtp",
839
+ "type": "simple"
840
+ }
841
+ ]
842
+ },
843
+ "tooltip": "Email's attachments, should be set as a list ",
844
+ "type": "Dropdown",
845
+ "choices": [
846
+ {
847
+ "name": "None",
848
+ "value": "none"
849
+ },
850
+ {
851
+ "name": "Single document",
852
+ "value": "single"
853
+ },
854
+ {
855
+ "name": "Multiple documents",
856
+ "value": "multiple"
857
+ }
858
+ ]
859
+ },
860
+ {
861
+ "id": "data_smtpAction_attachments_single_documentSource",
862
+ "label": "Document source",
863
+ "value": "camunda",
864
+ "group": "sendEmailSmtp",
865
+ "binding": {
866
+ "name": "data.smtpAction.data_smtpAction_attachments_single_documentSource",
867
+ "type": "zeebe:input"
868
+ },
869
+ "condition": {
870
+ "allMatch": [
871
+ {
872
+ "property": "data_smtpAction_attachments_documentMode",
873
+ "equals": "single",
874
+ "type": "simple"
875
+ },
876
+ {
877
+ "property": "data.smtpActionDiscriminator",
878
+ "equals": "sendEmailSmtp",
879
+ "type": "simple"
880
+ },
881
+ {
882
+ "property": "protocol",
883
+ "equals": "smtp",
884
+ "type": "simple"
885
+ }
886
+ ]
887
+ },
888
+ "type": "Dropdown",
889
+ "choices": [
890
+ {
891
+ "name": "Camunda Document",
892
+ "value": "camunda"
893
+ },
894
+ {
895
+ "name": "Inline Content",
896
+ "value": "inline"
897
+ },
898
+ {
899
+ "name": "From URL",
900
+ "value": "external"
901
+ }
902
+ ]
903
+ },
904
+ {
905
+ "id": "data_smtpAction_attachments_single_camundaReference",
906
+ "label": "Camunda document",
907
+ "constraints": {
908
+ "notEmpty": true
909
+ },
910
+ "feel": "required",
911
+ "group": "sendEmailSmtp",
912
+ "binding": {
913
+ "name": "data.smtpAction.data_smtpAction_attachments_single_camundaReference",
914
+ "type": "zeebe:input"
915
+ },
916
+ "condition": {
917
+ "allMatch": [
918
+ {
919
+ "property": "data_smtpAction_attachments_documentMode",
920
+ "equals": "single",
921
+ "type": "simple"
922
+ },
923
+ {
924
+ "property": "data_smtpAction_attachments_single_documentSource",
925
+ "equals": "camunda",
926
+ "type": "simple"
927
+ },
928
+ {
929
+ "property": "data.smtpActionDiscriminator",
930
+ "equals": "sendEmailSmtp",
931
+ "type": "simple"
932
+ },
933
+ {
934
+ "property": "protocol",
935
+ "equals": "smtp",
936
+ "type": "simple"
937
+ }
938
+ ]
939
+ },
940
+ "type": "String"
941
+ },
942
+ {
943
+ "id": "data_smtpAction_attachments_single_inline_content",
944
+ "label": "Content",
945
+ "constraints": {
946
+ "notEmpty": true
947
+ },
948
+ "feel": "optional",
949
+ "group": "sendEmailSmtp",
950
+ "binding": {
951
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_content",
952
+ "type": "zeebe:input"
953
+ },
954
+ "condition": {
955
+ "allMatch": [
956
+ {
957
+ "property": "data_smtpAction_attachments_documentMode",
958
+ "equals": "single",
959
+ "type": "simple"
960
+ },
961
+ {
962
+ "property": "data_smtpAction_attachments_single_documentSource",
963
+ "equals": "inline",
964
+ "type": "simple"
965
+ },
966
+ {
967
+ "property": "data.smtpActionDiscriminator",
968
+ "equals": "sendEmailSmtp",
969
+ "type": "simple"
970
+ },
971
+ {
972
+ "property": "protocol",
973
+ "equals": "smtp",
974
+ "type": "simple"
975
+ }
976
+ ]
977
+ },
978
+ "type": "String"
979
+ },
980
+ {
981
+ "id": "data_smtpAction_attachments_single_inline_fileName",
982
+ "label": "File name",
983
+ "feel": "optional",
984
+ "group": "sendEmailSmtp",
985
+ "binding": {
986
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_fileName",
987
+ "type": "zeebe:input"
988
+ },
989
+ "condition": {
990
+ "allMatch": [
991
+ {
992
+ "property": "data_smtpAction_attachments_documentMode",
993
+ "equals": "single",
994
+ "type": "simple"
995
+ },
996
+ {
997
+ "property": "data_smtpAction_attachments_single_documentSource",
998
+ "equals": "inline",
999
+ "type": "simple"
1000
+ },
1001
+ {
1002
+ "property": "data.smtpActionDiscriminator",
1003
+ "equals": "sendEmailSmtp",
1004
+ "type": "simple"
1005
+ },
1006
+ {
1007
+ "property": "protocol",
1008
+ "equals": "smtp",
1009
+ "type": "simple"
1010
+ }
1011
+ ]
1012
+ },
1013
+ "type": "String"
1014
+ },
1015
+ {
1016
+ "id": "data_smtpAction_attachments_single_inline_contentType",
1017
+ "label": "Content type",
1018
+ "feel": "optional",
1019
+ "group": "sendEmailSmtp",
1020
+ "binding": {
1021
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_contentType",
1022
+ "type": "zeebe:input"
1023
+ },
1024
+ "condition": {
1025
+ "allMatch": [
1026
+ {
1027
+ "property": "data_smtpAction_attachments_documentMode",
1028
+ "equals": "single",
1029
+ "type": "simple"
1030
+ },
1031
+ {
1032
+ "property": "data_smtpAction_attachments_single_documentSource",
1033
+ "equals": "inline",
1034
+ "type": "simple"
1035
+ },
1036
+ {
1037
+ "property": "data.smtpActionDiscriminator",
1038
+ "equals": "sendEmailSmtp",
1039
+ "type": "simple"
1040
+ },
1041
+ {
1042
+ "property": "protocol",
1043
+ "equals": "smtp",
1044
+ "type": "simple"
1045
+ }
1046
+ ]
1047
+ },
1048
+ "type": "String"
1049
+ },
1050
+ {
1051
+ "id": "data_smtpAction_attachments_single_external_url",
1052
+ "label": "URL",
1053
+ "constraints": {
1054
+ "notEmpty": true
1055
+ },
1056
+ "feel": "optional",
1057
+ "group": "sendEmailSmtp",
1058
+ "binding": {
1059
+ "name": "data.smtpAction.data_smtpAction_attachments_single_external_url",
1060
+ "type": "zeebe:input"
1061
+ },
1062
+ "condition": {
1063
+ "allMatch": [
1064
+ {
1065
+ "property": "data_smtpAction_attachments_documentMode",
1066
+ "equals": "single",
1067
+ "type": "simple"
1068
+ },
1069
+ {
1070
+ "property": "data_smtpAction_attachments_single_documentSource",
1071
+ "equals": "external",
1072
+ "type": "simple"
1073
+ },
1074
+ {
1075
+ "property": "data.smtpActionDiscriminator",
1076
+ "equals": "sendEmailSmtp",
1077
+ "type": "simple"
1078
+ },
1079
+ {
1080
+ "property": "protocol",
1081
+ "equals": "smtp",
1082
+ "type": "simple"
1083
+ }
1084
+ ]
1085
+ },
1086
+ "type": "String"
1087
+ },
1088
+ {
1089
+ "id": "data_smtpAction_attachments_single_external_fileName",
1090
+ "label": "File name",
1091
+ "feel": "optional",
1092
+ "group": "sendEmailSmtp",
1093
+ "binding": {
1094
+ "name": "data.smtpAction.data_smtpAction_attachments_single_external_fileName",
1095
+ "type": "zeebe:input"
1096
+ },
1097
+ "condition": {
1098
+ "allMatch": [
1099
+ {
1100
+ "property": "data_smtpAction_attachments_documentMode",
1101
+ "equals": "single",
1102
+ "type": "simple"
1103
+ },
1104
+ {
1105
+ "property": "data_smtpAction_attachments_single_documentSource",
1106
+ "equals": "external",
1107
+ "type": "simple"
1108
+ },
1109
+ {
1110
+ "property": "data.smtpActionDiscriminator",
1111
+ "equals": "sendEmailSmtp",
1112
+ "type": "simple"
1113
+ },
1114
+ {
1115
+ "property": "protocol",
1116
+ "equals": "smtp",
1117
+ "type": "simple"
1118
+ }
1119
+ ]
1120
+ },
1121
+ "type": "String"
1122
+ },
1123
+ {
1124
+ "id": "data_smtpAction_attachments_multiple_expression",
1125
+ "label": "Documents",
1126
+ "constraints": {
1127
+ "notEmpty": true
1128
+ },
1129
+ "feel": "required",
1130
+ "group": "sendEmailSmtp",
1131
+ "binding": {
1132
+ "name": "data.smtpAction.data_smtpAction_attachments_multiple_expression",
1133
+ "type": "zeebe:input"
1134
+ },
1135
+ "condition": {
1136
+ "allMatch": [
1137
+ {
1138
+ "property": "data_smtpAction_attachments_documentMode",
1139
+ "equals": "multiple",
1140
+ "type": "simple"
1141
+ },
1142
+ {
1143
+ "property": "data.smtpActionDiscriminator",
1144
+ "equals": "sendEmailSmtp",
1145
+ "type": "simple"
1146
+ },
1147
+ {
1148
+ "property": "protocol",
1149
+ "equals": "smtp",
1150
+ "type": "simple"
1151
+ }
1152
+ ]
1153
+ },
1154
+ "type": "String"
1155
+ },
1156
+ {
1157
+ "id": "attachmentsSmtp",
1158
+ "value": "=if data_smtpAction_attachments_documentMode = \"multiple\" then data_smtpAction_attachments_multiple_expression else if data_smtpAction_attachments_documentMode = \"single\" then (if data_smtpAction_attachments_single_documentSource = \"camunda\" then [data_smtpAction_attachments_single_camundaReference] else if data_smtpAction_attachments_single_documentSource = \"inline\" then [{ \"camunda.document.type\": \"inline\", content: data_smtpAction_attachments_single_inline_content, name: data_smtpAction_attachments_single_inline_fileName, contentType: data_smtpAction_attachments_single_inline_contentType }] else if data_smtpAction_attachments_single_documentSource = \"external\" then [{ \"camunda.document.type\": \"external\", url: data_smtpAction_attachments_single_external_url, name: data_smtpAction_attachments_single_external_fileName }] else null) else null",
1159
+ "group": "sendEmailSmtp",
1160
+ "binding": {
1161
+ "name": "data.smtpAction.attachments",
1162
+ "type": "zeebe:input"
1163
+ },
1164
+ "condition": {
1165
+ "allMatch": [
1166
+ {
1167
+ "property": "data.smtpActionDiscriminator",
1168
+ "equals": "sendEmailSmtp",
1169
+ "type": "simple"
1170
+ },
1171
+ {
1172
+ "property": "protocol",
1173
+ "equals": "smtp",
1174
+ "type": "simple"
1175
+ }
1176
+ ]
1177
+ },
1178
+ "type": "Hidden"
1179
+ },
1180
+ {
1181
+ "id": "pop3maxToBeRead",
1182
+ "label": "Maximum number of emails to be read",
1183
+ "optional": false,
1184
+ "value": 100,
1185
+ "constraints": {
1186
+ "notEmpty": true
1187
+ },
1188
+ "feel": "static",
1189
+ "group": "listEmailsPop3",
1190
+ "binding": {
1191
+ "name": "data.pop3Action.maxToBeRead",
1192
+ "type": "zeebe:input"
1193
+ },
1194
+ "condition": {
1195
+ "allMatch": [
1196
+ {
1197
+ "property": "data.pop3ActionDiscriminator",
1198
+ "equals": "listEmailsPop3",
1199
+ "type": "simple"
1200
+ },
1201
+ {
1202
+ "property": "protocol",
1203
+ "equals": "pop3",
1204
+ "type": "simple"
1205
+ }
1206
+ ]
1207
+ },
1208
+ "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
1209
+ "type": "Number"
1210
+ },
1211
+ {
1212
+ "id": "pop3SortField",
1213
+ "label": "Sort emails by",
1214
+ "optional": false,
1215
+ "value": "SENT_DATE",
1216
+ "constraints": {
1217
+ "notEmpty": true
1218
+ },
1219
+ "group": "listEmailsPop3",
1220
+ "binding": {
1221
+ "name": "data.pop3Action.sortField",
1222
+ "type": "zeebe:input"
1223
+ },
1224
+ "condition": {
1225
+ "allMatch": [
1226
+ {
1227
+ "property": "data.pop3ActionDiscriminator",
1228
+ "equals": "listEmailsPop3",
1229
+ "type": "simple"
1230
+ },
1231
+ {
1232
+ "property": "protocol",
1233
+ "equals": "pop3",
1234
+ "type": "simple"
1235
+ }
1236
+ ]
1237
+ },
1238
+ "tooltip": "Choose the criterion by which the listed emails should be sorted. The default sorting is by 'Sent Date'.",
1239
+ "type": "Dropdown",
1240
+ "choices": [
1241
+ {
1242
+ "name": "Sent Date",
1243
+ "value": "SENT_DATE"
1244
+ },
1245
+ {
1246
+ "name": "Size",
1247
+ "value": "SIZE"
1248
+ }
1249
+ ]
1250
+ },
1251
+ {
1252
+ "id": "pop3SortOrder",
1253
+ "label": "Sort order",
1254
+ "optional": false,
1255
+ "value": "ASC",
1256
+ "constraints": {
1257
+ "notEmpty": true
1258
+ },
1259
+ "group": "listEmailsPop3",
1260
+ "binding": {
1261
+ "name": "data.pop3Action.sortOrder",
1262
+ "type": "zeebe:input"
1263
+ },
1264
+ "condition": {
1265
+ "allMatch": [
1266
+ {
1267
+ "property": "data.pop3ActionDiscriminator",
1268
+ "equals": "listEmailsPop3",
1269
+ "type": "simple"
1270
+ },
1271
+ {
1272
+ "property": "protocol",
1273
+ "equals": "pop3",
1274
+ "type": "simple"
1275
+ }
1276
+ ]
1277
+ },
1278
+ "tooltip": "Select the sort order for the emails. Choose 'ASC' for ascending order or 'DESC' for descending order. Ascending order will list older emails first, while descending order will list newer emails first. The default sort order is 'ASC'.",
1279
+ "type": "Dropdown",
1280
+ "choices": [
1281
+ {
1282
+ "name": "ASC",
1283
+ "value": "ASC"
1284
+ },
1285
+ {
1286
+ "name": "DESC",
1287
+ "value": "DESC"
1288
+ }
1289
+ ]
1290
+ },
1291
+ {
1292
+ "id": "searchStringEmailPop3",
1293
+ "label": "Search criteria",
1294
+ "description": "Refer to our detailed documentation for full search syntax and examples: [Email Documentation](https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/).",
1295
+ "optional": true,
1296
+ "feel": "required",
1297
+ "group": "searchEmailsPop3",
1298
+ "binding": {
1299
+ "name": "data.pop3Action.criteria",
1300
+ "type": "zeebe:input"
1301
+ },
1302
+ "condition": {
1303
+ "allMatch": [
1304
+ {
1305
+ "property": "data.pop3ActionDiscriminator",
1306
+ "equals": "searchEmailsPop3",
1307
+ "type": "simple"
1308
+ },
1309
+ {
1310
+ "property": "protocol",
1311
+ "equals": "pop3",
1312
+ "type": "simple"
1313
+ }
1314
+ ]
1315
+ },
1316
+ "tooltip": "Define the search criteria using supported keywords and syntax to filter emails.",
1317
+ "type": "Text"
1318
+ },
1319
+ {
1320
+ "id": "pop3MessageIdDelete",
1321
+ "label": "Message ID",
1322
+ "optional": false,
1323
+ "constraints": {
1324
+ "notEmpty": true
1325
+ },
1326
+ "feel": "optional",
1327
+ "group": "deleteEmailPop3",
1328
+ "binding": {
1329
+ "name": "data.pop3Action.messageId",
1330
+ "type": "zeebe:input"
1331
+ },
1332
+ "condition": {
1333
+ "allMatch": [
1334
+ {
1335
+ "property": "data.pop3ActionDiscriminator",
1336
+ "equals": "deleteEmailPop3",
1337
+ "type": "simple"
1338
+ },
1339
+ {
1340
+ "property": "protocol",
1341
+ "equals": "pop3",
1342
+ "type": "simple"
1343
+ }
1344
+ ]
1345
+ },
1346
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
1347
+ "type": "String"
1348
+ },
1349
+ {
1350
+ "id": "pop3MessageIdRead",
1351
+ "label": "Message ID",
1352
+ "optional": false,
1353
+ "constraints": {
1354
+ "notEmpty": true
1355
+ },
1356
+ "feel": "optional",
1357
+ "group": "readEmailPop3",
1358
+ "binding": {
1359
+ "name": "data.pop3Action.messageId",
1360
+ "type": "zeebe:input"
1361
+ },
1362
+ "condition": {
1363
+ "allMatch": [
1364
+ {
1365
+ "property": "data.pop3ActionDiscriminator",
1366
+ "equals": "readEmailPop3",
1367
+ "type": "simple"
1368
+ },
1369
+ {
1370
+ "property": "protocol",
1371
+ "equals": "pop3",
1372
+ "type": "simple"
1373
+ }
1374
+ ]
1375
+ },
1376
+ "tooltip": "The ID of the message, typically returned by a previous email task. Warning: reading an email using POP3 will delete it",
1377
+ "type": "String"
1378
+ },
1379
+ {
1380
+ "id": "imapMaxToBeRead",
1381
+ "label": "Maximum number of emails to be read",
1382
+ "optional": false,
1383
+ "value": 100,
1384
+ "constraints": {
1385
+ "notEmpty": true
1386
+ },
1387
+ "feel": "static",
1388
+ "group": "listEmailsImap",
1389
+ "binding": {
1390
+ "name": "data.imapAction.maxToBeRead",
1391
+ "type": "zeebe:input"
1392
+ },
1393
+ "condition": {
1394
+ "allMatch": [
1395
+ {
1396
+ "property": "data.imapActionDiscriminator",
1397
+ "equals": "listEmailsImap",
1398
+ "type": "simple"
1399
+ },
1400
+ {
1401
+ "property": "protocol",
1402
+ "equals": "imap",
1403
+ "type": "simple"
1404
+ }
1405
+ ]
1406
+ },
1407
+ "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
1408
+ "type": "Number"
1409
+ },
1410
+ {
1411
+ "id": "imapListEmailsFolder",
1412
+ "label": "Folder",
1413
+ "optional": true,
1414
+ "feel": "optional",
1415
+ "group": "listEmailsImap",
1416
+ "binding": {
1417
+ "name": "data.imapAction.listEmailsFolder",
1418
+ "type": "zeebe:input"
1419
+ },
1420
+ "condition": {
1421
+ "allMatch": [
1422
+ {
1423
+ "property": "data.imapActionDiscriminator",
1424
+ "equals": "listEmailsImap",
1425
+ "type": "simple"
1426
+ },
1427
+ {
1428
+ "property": "protocol",
1429
+ "equals": "imap",
1430
+ "type": "simple"
1431
+ }
1432
+ ]
1433
+ },
1434
+ "tooltip": "Specify the folder from which you want to list emails (e.g., 'INBOX', 'Sent', 'Drafts'). If left blank, emails will be listed from the default 'INBOX' folder.",
1435
+ "type": "String"
1436
+ },
1437
+ {
1438
+ "id": "imapSortField",
1439
+ "label": "Sort emails by",
1440
+ "optional": false,
1441
+ "value": "RECEIVED_DATE",
1442
+ "constraints": {
1443
+ "notEmpty": true
1444
+ },
1445
+ "group": "listEmailsImap",
1446
+ "binding": {
1447
+ "name": "data.imapAction.sortField",
1448
+ "type": "zeebe:input"
1449
+ },
1450
+ "condition": {
1451
+ "allMatch": [
1452
+ {
1453
+ "property": "data.imapActionDiscriminator",
1454
+ "equals": "listEmailsImap",
1455
+ "type": "simple"
1456
+ },
1457
+ {
1458
+ "property": "protocol",
1459
+ "equals": "imap",
1460
+ "type": "simple"
1461
+ }
1462
+ ]
1463
+ },
1464
+ "tooltip": "Choose the criterion by which the listed emails should be sorted. The default sorting is by 'Received Date'.",
1465
+ "type": "Dropdown",
1466
+ "choices": [
1467
+ {
1468
+ "name": "Received Date",
1469
+ "value": "RECEIVED_DATE"
1470
+ },
1471
+ {
1472
+ "name": "Sent Date",
1473
+ "value": "SENT_DATE"
1474
+ },
1475
+ {
1476
+ "name": "Size",
1477
+ "value": "SIZE"
1478
+ }
1479
+ ]
1480
+ },
1481
+ {
1482
+ "id": "imapSortOrder",
1483
+ "label": "Sort order",
1484
+ "optional": false,
1485
+ "value": "ASC",
1486
+ "constraints": {
1487
+ "notEmpty": true
1488
+ },
1489
+ "group": "listEmailsImap",
1490
+ "binding": {
1491
+ "name": "data.imapAction.sortOrder",
1492
+ "type": "zeebe:input"
1493
+ },
1494
+ "condition": {
1495
+ "allMatch": [
1496
+ {
1497
+ "property": "data.imapActionDiscriminator",
1498
+ "equals": "listEmailsImap",
1499
+ "type": "simple"
1500
+ },
1501
+ {
1502
+ "property": "protocol",
1503
+ "equals": "imap",
1504
+ "type": "simple"
1505
+ }
1506
+ ]
1507
+ },
1508
+ "tooltip": "Select the sort order for the emails. Choose 'ASC' for ascending order or 'DESC' for descending order. Ascending order will list older emails first, while descending order will list newer emails first. The default sort order is 'ASC'.",
1509
+ "type": "Dropdown",
1510
+ "choices": [
1511
+ {
1512
+ "name": "ASC",
1513
+ "value": "ASC"
1514
+ },
1515
+ {
1516
+ "name": "DESC",
1517
+ "value": "DESC"
1518
+ }
1519
+ ]
1520
+ },
1521
+ {
1522
+ "id": "searchStringEmailImap",
1523
+ "label": "Search criteria",
1524
+ "description": "Refer to our detailed documentation for full search syntax and examples: [Email Documentation](https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/).",
1525
+ "optional": true,
1526
+ "feel": "required",
1527
+ "group": "searchEmailsImap",
1528
+ "binding": {
1529
+ "name": "data.imapAction.criteria",
1530
+ "type": "zeebe:input"
1531
+ },
1532
+ "condition": {
1533
+ "allMatch": [
1534
+ {
1535
+ "property": "data.imapActionDiscriminator",
1536
+ "equals": "searchEmailsImap",
1537
+ "type": "simple"
1538
+ },
1539
+ {
1540
+ "property": "protocol",
1541
+ "equals": "imap",
1542
+ "type": "simple"
1543
+ }
1544
+ ]
1545
+ },
1546
+ "tooltip": "Define the search criteria using supported keywords and syntax to filter emails.",
1547
+ "type": "Text"
1548
+ },
1549
+ {
1550
+ "id": "searchEmailFolder",
1551
+ "label": "Folder",
1552
+ "optional": true,
1553
+ "feel": "optional",
1554
+ "group": "searchEmailsImap",
1555
+ "binding": {
1556
+ "name": "data.imapAction.searchEmailFolder",
1557
+ "type": "zeebe:input"
1558
+ },
1559
+ "condition": {
1560
+ "allMatch": [
1561
+ {
1562
+ "property": "data.imapActionDiscriminator",
1563
+ "equals": "searchEmailsImap",
1564
+ "type": "simple"
1565
+ },
1566
+ {
1567
+ "property": "protocol",
1568
+ "equals": "imap",
1569
+ "type": "simple"
1570
+ }
1571
+ ]
1572
+ },
1573
+ "tooltip": "Specify the folder in which to conduct the email search. If left blank, the search will default to the 'INBOX' folder. You may also specify subfolders using a dot-separated path (e.g., 'INBOX.Archives').",
1574
+ "type": "String"
1575
+ },
1576
+ {
1577
+ "id": "imapMessageIdRead",
1578
+ "label": "Message ID",
1579
+ "optional": false,
1580
+ "constraints": {
1581
+ "notEmpty": true
1582
+ },
1583
+ "feel": "optional",
1584
+ "group": "readEmailImap",
1585
+ "binding": {
1586
+ "name": "data.imapAction.messageId",
1587
+ "type": "zeebe:input"
1588
+ },
1589
+ "condition": {
1590
+ "allMatch": [
1591
+ {
1592
+ "property": "data.imapActionDiscriminator",
1593
+ "equals": "readEmailImap",
1594
+ "type": "simple"
1595
+ },
1596
+ {
1597
+ "property": "protocol",
1598
+ "equals": "imap",
1599
+ "type": "simple"
1600
+ }
1601
+ ]
1602
+ },
1603
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
1604
+ "type": "String"
1605
+ },
1606
+ {
1607
+ "id": "readEmailFolder",
1608
+ "label": "Folder",
1609
+ "optional": true,
1610
+ "feel": "optional",
1611
+ "group": "readEmailImap",
1612
+ "binding": {
1613
+ "name": "data.imapAction.readEmailFolder",
1614
+ "type": "zeebe:input"
1615
+ },
1616
+ "condition": {
1617
+ "allMatch": [
1618
+ {
1619
+ "property": "data.imapActionDiscriminator",
1620
+ "equals": "readEmailImap",
1621
+ "type": "simple"
1622
+ },
1623
+ {
1624
+ "property": "protocol",
1625
+ "equals": "imap",
1626
+ "type": "simple"
1627
+ }
1628
+ ]
1629
+ },
1630
+ "tooltip": "Enter the name of the folder from which you wish to read emails. If left blank, emails will be read from the default 'INBOX' folder.",
1631
+ "type": "String"
1632
+ },
1633
+ {
1634
+ "id": "imapMessageIdDelete",
1635
+ "label": "Message ID",
1636
+ "optional": false,
1637
+ "constraints": {
1638
+ "notEmpty": true
1639
+ },
1640
+ "feel": "optional",
1641
+ "group": "deleteEmailImap",
1642
+ "binding": {
1643
+ "name": "data.imapAction.messageId",
1644
+ "type": "zeebe:input"
1645
+ },
1646
+ "condition": {
1647
+ "allMatch": [
1648
+ {
1649
+ "property": "data.imapActionDiscriminator",
1650
+ "equals": "deleteEmailImap",
1651
+ "type": "simple"
1652
+ },
1653
+ {
1654
+ "property": "protocol",
1655
+ "equals": "imap",
1656
+ "type": "simple"
1657
+ }
1658
+ ]
1659
+ },
1660
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
1661
+ "type": "String"
1662
+ },
1663
+ {
1664
+ "id": "deleteEmailFolder",
1665
+ "label": "Folder",
1666
+ "optional": true,
1667
+ "feel": "optional",
1668
+ "group": "deleteEmailImap",
1669
+ "binding": {
1670
+ "name": "data.imapAction.deleteEmailFolder",
1671
+ "type": "zeebe:input"
1672
+ },
1673
+ "condition": {
1674
+ "allMatch": [
1675
+ {
1676
+ "property": "data.imapActionDiscriminator",
1677
+ "equals": "deleteEmailImap",
1678
+ "type": "simple"
1679
+ },
1680
+ {
1681
+ "property": "protocol",
1682
+ "equals": "imap",
1683
+ "type": "simple"
1684
+ }
1685
+ ]
1686
+ },
1687
+ "tooltip": "Specify the name of the folder from which you want to delete emails. If left blank, the default 'INBOX' will be used. For example, you can enter 'Trash' to delete emails from the Trash folder.",
1688
+ "type": "String"
1689
+ },
1690
+ {
1691
+ "id": "imapMessageIdMove",
1692
+ "label": "Message ID",
1693
+ "optional": false,
1694
+ "constraints": {
1695
+ "notEmpty": true
1696
+ },
1697
+ "feel": "optional",
1698
+ "group": "moveEmailImap",
1699
+ "binding": {
1700
+ "name": "data.imapAction.messageId",
1701
+ "type": "zeebe:input"
1702
+ },
1703
+ "condition": {
1704
+ "allMatch": [
1705
+ {
1706
+ "property": "data.imapActionDiscriminator",
1707
+ "equals": "moveEmailImap",
1708
+ "type": "simple"
1709
+ },
1710
+ {
1711
+ "property": "protocol",
1712
+ "equals": "imap",
1713
+ "type": "simple"
1714
+ }
1715
+ ]
1716
+ },
1717
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
1718
+ "type": "String"
1719
+ },
1720
+ {
1721
+ "id": "data.fromFolder",
1722
+ "label": "Source folder",
1723
+ "optional": false,
1724
+ "constraints": {
1725
+ "notEmpty": true
1726
+ },
1727
+ "feel": "optional",
1728
+ "group": "moveEmailImap",
1729
+ "binding": {
1730
+ "name": "data.imapAction.fromFolder",
1731
+ "type": "zeebe:input"
1732
+ },
1733
+ "condition": {
1734
+ "allMatch": [
1735
+ {
1736
+ "property": "data.imapActionDiscriminator",
1737
+ "equals": "moveEmailImap",
1738
+ "type": "simple"
1739
+ },
1740
+ {
1741
+ "property": "protocol",
1742
+ "equals": "imap",
1743
+ "type": "simple"
1744
+ }
1745
+ ]
1746
+ },
1747
+ "tooltip": "Enter the name of the folder from which the emails will be moved. This field is required. For example, enter 'INBOX' to move emails from your Inbox.",
1748
+ "type": "String"
1749
+ },
1750
+ {
1751
+ "id": "data.toFolder",
1752
+ "label": "Target folder",
1753
+ "optional": false,
1754
+ "constraints": {
1755
+ "notEmpty": true
1756
+ },
1757
+ "feel": "optional",
1758
+ "group": "moveEmailImap",
1759
+ "binding": {
1760
+ "name": "data.imapAction.toFolder",
1761
+ "type": "zeebe:input"
1762
+ },
1763
+ "condition": {
1764
+ "allMatch": [
1765
+ {
1766
+ "property": "data.imapActionDiscriminator",
1767
+ "equals": "moveEmailImap",
1768
+ "type": "simple"
1769
+ },
1770
+ {
1771
+ "property": "protocol",
1772
+ "equals": "imap",
1773
+ "type": "simple"
1774
+ }
1775
+ ]
1776
+ },
1777
+ "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
1778
+ "type": "String"
1779
+ },
1780
+ {
1781
+ "id": "version",
1782
+ "label": "Version",
1783
+ "description": "Version of the element template",
1784
+ "value": "5",
1785
+ "group": "connector",
1786
+ "binding": {
1787
+ "key": "elementTemplateVersion",
1788
+ "type": "zeebe:taskHeader"
1789
+ },
1790
+ "type": "Hidden"
1791
+ },
1792
+ {
1793
+ "id": "id",
1794
+ "label": "ID",
1795
+ "description": "ID of the element template",
1796
+ "value": "io.camunda.connectors.email.v1",
1797
+ "group": "connector",
1798
+ "binding": {
1799
+ "key": "elementTemplateId",
1800
+ "type": "zeebe:taskHeader"
1801
+ },
1802
+ "type": "Hidden"
1803
+ },
1804
+ {
1805
+ "id": "resultVariable",
1806
+ "label": "Result variable",
1807
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
1808
+ "group": "output",
1809
+ "binding": {
1810
+ "key": "resultVariable",
1811
+ "type": "zeebe:taskHeader"
1812
+ },
1813
+ "type": "String"
1814
+ },
1815
+ {
1816
+ "id": "resultExpression",
1817
+ "label": "Result expression",
1818
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
1819
+ "feel": "required",
1820
+ "group": "output",
1821
+ "binding": {
1822
+ "key": "resultExpression",
1823
+ "type": "zeebe:taskHeader"
1824
+ },
1825
+ "type": "Text"
1826
+ },
1827
+ {
1828
+ "id": "errorExpression",
1829
+ "label": "Error expression",
1830
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
1831
+ "feel": "required",
1832
+ "group": "error",
1833
+ "binding": {
1834
+ "key": "errorExpression",
1835
+ "type": "zeebe:taskHeader"
1836
+ },
1837
+ "type": "Text"
1838
+ },
1839
+ {
1840
+ "id": "retryCount",
1841
+ "label": "Retries",
1842
+ "description": "Number of retries",
1843
+ "value": "3",
1844
+ "feel": "optional",
1845
+ "group": "retries",
1846
+ "binding": {
1847
+ "property": "retries",
1848
+ "type": "zeebe:taskDefinition"
1849
+ },
1850
+ "type": "String"
1851
+ },
1852
+ {
1853
+ "id": "retryBackoff",
1854
+ "label": "Retry backoff",
1855
+ "description": "ISO-8601 duration to wait between retries",
1856
+ "value": "PT0S",
1857
+ "group": "retries",
1858
+ "binding": {
1859
+ "key": "retryBackoff",
1860
+ "type": "zeebe:taskHeader"
1861
+ },
1862
+ "type": "String"
1863
+ }
1864
+ ],
1865
+ "icon": {
1866
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
1867
+ }
1868
+ },
1869
+ {
1870
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
1871
+ "name": "Email Connector",
1872
+ "id": "io.camunda.connectors.email.v1",
1873
+ "description": "Execute email requests",
1874
+ "keywords": [
1875
+ "send emails",
1876
+ "list emails",
1877
+ "search emails",
1878
+ "delete emails",
1879
+ "read emails",
1880
+ "move emails",
1881
+ "send email",
1882
+ "delete email",
1883
+ "read email",
1884
+ "move email",
1885
+ "IMAP",
1886
+ "SMTP",
1887
+ "POP3",
1888
+ "inbox"
1889
+ ],
17
1890
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
18
- "version": 3,
1891
+ "version": 4,
19
1892
  "category": {
20
1893
  "id": "connectors",
21
1894
  "name": "Connectors"
@@ -25,7 +1898,7 @@
25
1898
  "value": "bpmn:ServiceTask"
26
1899
  },
27
1900
  "engines": {
28
- "camunda": "^8.6"
1901
+ "camunda": "^8.9"
29
1902
  },
30
1903
  "groups": [
31
1904
  {
@@ -117,7 +1990,7 @@
117
1990
  {
118
1991
  "id": "authentication.type",
119
1992
  "label": "Authentication",
120
- "description": "Specify the Email authentication strategy.",
1993
+ "description": "Specify the Email authentication strategy. None is only supported for SMTP.",
121
1994
  "value": "simple",
122
1995
  "group": "authentication",
123
1996
  "binding": {
@@ -129,6 +2002,10 @@
129
2002
  {
130
2003
  "name": "Simple",
131
2004
  "value": "simple"
2005
+ },
2006
+ {
2007
+ "name": "None",
2008
+ "value": "noAuth"
132
2009
  }
133
2010
  ]
134
2011
  },
@@ -1438,7 +3315,7 @@
1438
3315
  "id": "version",
1439
3316
  "label": "Version",
1440
3317
  "description": "Version of the element template",
1441
- "value": "3",
3318
+ "value": "4",
1442
3319
  "group": "connector",
1443
3320
  "binding": {
1444
3321
  "key": "elementTemplateVersion",
@@ -1461,7 +3338,7 @@
1461
3338
  {
1462
3339
  "id": "resultVariable",
1463
3340
  "label": "Result variable",
1464
- "description": "Name of variable to store the response in",
3341
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>.",
1465
3342
  "group": "output",
1466
3343
  "binding": {
1467
3344
  "key": "resultVariable",
@@ -1472,7 +3349,7 @@
1472
3349
  {
1473
3350
  "id": "resultExpression",
1474
3351
  "label": "Result expression",
1475
- "description": "Expression to map the response into process variables",
3352
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>.",
1476
3353
  "feel": "required",
1477
3354
  "group": "output",
1478
3355
  "binding": {
@@ -1539,7 +3416,7 @@
1539
3416
  ]
1540
3417
  },
1541
3418
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
1542
- "version": 2,
3419
+ "version": 3,
1543
3420
  "category": {
1544
3421
  "id": "connectors",
1545
3422
  "name": "Connectors"
@@ -1548,6 +3425,9 @@
1548
3425
  "elementType": {
1549
3426
  "value": "bpmn:ServiceTask"
1550
3427
  },
3428
+ "engines": {
3429
+ "camunda": "^8.6"
3430
+ },
1551
3431
  "groups": [
1552
3432
  {
1553
3433
  "id": "authentication",
@@ -1609,6 +3489,10 @@
1609
3489
  "id": "moveEmailImap",
1610
3490
  "label": "Move Emails"
1611
3491
  },
3492
+ {
3493
+ "id": "connector",
3494
+ "label": "Connector"
3495
+ },
1612
3496
  {
1613
3497
  "id": "output",
1614
3498
  "label": "Output mapping"
@@ -2951,6 +4835,30 @@
2951
4835
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
2952
4836
  "type": "String"
2953
4837
  },
4838
+ {
4839
+ "id": "version",
4840
+ "label": "Version",
4841
+ "description": "Version of the element template",
4842
+ "value": "3",
4843
+ "group": "connector",
4844
+ "binding": {
4845
+ "key": "elementTemplateVersion",
4846
+ "type": "zeebe:taskHeader"
4847
+ },
4848
+ "type": "Hidden"
4849
+ },
4850
+ {
4851
+ "id": "id",
4852
+ "label": "ID",
4853
+ "description": "ID of the element template",
4854
+ "value": "io.camunda.connectors.email.v1",
4855
+ "group": "connector",
4856
+ "binding": {
4857
+ "key": "elementTemplateId",
4858
+ "type": "zeebe:taskHeader"
4859
+ },
4860
+ "type": "Hidden"
4861
+ },
2954
4862
  {
2955
4863
  "id": "resultVariable",
2956
4864
  "label": "Result variable",
@@ -3014,9 +4922,6 @@
3014
4922
  ],
3015
4923
  "icon": {
3016
4924
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
3017
- },
3018
- "engines": {
3019
- "camunda": "^8.7"
3020
4925
  }
3021
4926
  },
3022
4927
  {
@@ -3024,8 +4929,18 @@
3024
4929
  "name": "Email Connector",
3025
4930
  "id": "io.camunda.connectors.email.v1",
3026
4931
  "description": "Execute email requests",
4932
+ "metadata": {
4933
+ "keywords": [
4934
+ "send emails",
4935
+ "list emails",
4936
+ "search emails",
4937
+ "delete emails",
4938
+ "read emails",
4939
+ "move emails"
4940
+ ]
4941
+ },
3027
4942
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
3028
- "version": 1,
4943
+ "version": 2,
3029
4944
  "category": {
3030
4945
  "id": "connectors",
3031
4946
  "name": "Connectors"
@@ -3163,6 +5078,7 @@
3163
5078
  "constraints": {
3164
5079
  "notEmpty": true
3165
5080
  },
5081
+ "feel": "optional",
3166
5082
  "group": "authentication",
3167
5083
  "binding": {
3168
5084
  "name": "authentication.password",
@@ -3226,7 +5142,7 @@
3226
5142
  "id": "data.imapPort",
3227
5143
  "label": "IMAP Port",
3228
5144
  "optional": false,
3229
- "value": "993",
5145
+ "value": 993,
3230
5146
  "constraints": {
3231
5147
  "notEmpty": true
3232
5148
  },
@@ -3242,7 +5158,7 @@
3242
5158
  "type": "simple"
3243
5159
  },
3244
5160
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
3245
- "type": "String"
5161
+ "type": "Number"
3246
5162
  },
3247
5163
  {
3248
5164
  "id": "imapCryptographicProtocol",
@@ -3269,13 +5185,13 @@
3269
5185
  "name": "TLS",
3270
5186
  "value": "TLS"
3271
5187
  },
3272
- {
3273
- "name": "None",
3274
- "value": "NONE"
3275
- },
3276
5188
  {
3277
5189
  "name": "SSL",
3278
5190
  "value": "SSL"
5191
+ },
5192
+ {
5193
+ "name": "None",
5194
+ "value": "NONE"
3279
5195
  }
3280
5196
  ]
3281
5197
  },
@@ -3304,7 +5220,7 @@
3304
5220
  "id": "data.pop3Port",
3305
5221
  "label": "POP3 Port",
3306
5222
  "optional": false,
3307
- "value": "995",
5223
+ "value": 995,
3308
5224
  "constraints": {
3309
5225
  "notEmpty": true
3310
5226
  },
@@ -3320,7 +5236,7 @@
3320
5236
  "type": "simple"
3321
5237
  },
3322
5238
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
3323
- "type": "String"
5239
+ "type": "Number"
3324
5240
  },
3325
5241
  {
3326
5242
  "id": "pop3CryptographicProtocol",
@@ -3347,13 +5263,13 @@
3347
5263
  "name": "TLS",
3348
5264
  "value": "TLS"
3349
5265
  },
3350
- {
3351
- "name": "None",
3352
- "value": "NONE"
3353
- },
3354
5266
  {
3355
5267
  "name": "SSL",
3356
5268
  "value": "SSL"
5269
+ },
5270
+ {
5271
+ "name": "None",
5272
+ "value": "NONE"
3357
5273
  }
3358
5274
  ]
3359
5275
  },
@@ -3382,7 +5298,7 @@
3382
5298
  "id": "data.smtpPort",
3383
5299
  "label": "SMTP Port",
3384
5300
  "optional": false,
3385
- "value": "587",
5301
+ "value": 587,
3386
5302
  "constraints": {
3387
5303
  "notEmpty": true
3388
5304
  },
@@ -3398,7 +5314,7 @@
3398
5314
  "type": "simple"
3399
5315
  },
3400
5316
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
3401
- "type": "String"
5317
+ "type": "Number"
3402
5318
  },
3403
5319
  {
3404
5320
  "id": "smtpCryptographicProtocol",
@@ -3425,13 +5341,13 @@
3425
5341
  "name": "TLS",
3426
5342
  "value": "TLS"
3427
5343
  },
3428
- {
3429
- "name": "None",
3430
- "value": "NONE"
3431
- },
3432
5344
  {
3433
5345
  "name": "SSL",
3434
5346
  "value": "SSL"
5347
+ },
5348
+ {
5349
+ "name": "None",
5350
+ "value": "NONE"
3435
5351
  }
3436
5352
  ]
3437
5353
  },
@@ -3643,6 +5559,33 @@
3643
5559
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
3644
5560
  "type": "String"
3645
5561
  },
5562
+ {
5563
+ "id": "smtpHeaders",
5564
+ "label": "Headers",
5565
+ "optional": true,
5566
+ "feel": "required",
5567
+ "group": "sendEmailSmtp",
5568
+ "binding": {
5569
+ "name": "data.smtpAction.headers",
5570
+ "type": "zeebe:input"
5571
+ },
5572
+ "condition": {
5573
+ "allMatch": [
5574
+ {
5575
+ "property": "data.smtpActionDiscriminator",
5576
+ "equals": "sendEmailSmtp",
5577
+ "type": "simple"
5578
+ },
5579
+ {
5580
+ "property": "protocol",
5581
+ "equals": "smtp",
5582
+ "type": "simple"
5583
+ }
5584
+ ]
5585
+ },
5586
+ "tooltip": "Additional email headers",
5587
+ "type": "String"
5588
+ },
3646
5589
  {
3647
5590
  "id": "smtpSubject",
3648
5591
  "label": "Subject",
@@ -3674,16 +5617,122 @@
3674
5617
  "type": "String"
3675
5618
  },
3676
5619
  {
3677
- "id": "smtpBody",
3678
- "label": "Email Content",
5620
+ "id": "contentType",
5621
+ "label": "ContentType",
3679
5622
  "optional": false,
5623
+ "value": "PLAIN",
3680
5624
  "constraints": {
3681
5625
  "notEmpty": true
3682
5626
  },
5627
+ "group": "sendEmailSmtp",
5628
+ "binding": {
5629
+ "name": "data.smtpAction.contentType",
5630
+ "type": "zeebe:input"
5631
+ },
5632
+ "condition": {
5633
+ "allMatch": [
5634
+ {
5635
+ "property": "data.smtpActionDiscriminator",
5636
+ "equals": "sendEmailSmtp",
5637
+ "type": "simple"
5638
+ },
5639
+ {
5640
+ "property": "protocol",
5641
+ "equals": "smtp",
5642
+ "type": "simple"
5643
+ }
5644
+ ]
5645
+ },
5646
+ "tooltip": "Email's contentType",
5647
+ "type": "Dropdown",
5648
+ "choices": [
5649
+ {
5650
+ "name": "PLAIN",
5651
+ "value": "PLAIN"
5652
+ },
5653
+ {
5654
+ "name": "HTML",
5655
+ "value": "HTML"
5656
+ },
5657
+ {
5658
+ "name": "HTML & Plaintext",
5659
+ "value": "MULTIPART"
5660
+ }
5661
+ ]
5662
+ },
5663
+ {
5664
+ "id": "smtpBody",
5665
+ "label": "Email Text Content",
5666
+ "optional": false,
5667
+ "feel": "optional",
5668
+ "group": "sendEmailSmtp",
5669
+ "binding": {
5670
+ "name": "data.smtpAction.body",
5671
+ "type": "zeebe:input"
5672
+ },
5673
+ "condition": {
5674
+ "allMatch": [
5675
+ {
5676
+ "property": "contentType",
5677
+ "oneOf": ["PLAIN", "MULTIPART"],
5678
+ "type": "simple"
5679
+ },
5680
+ {
5681
+ "property": "data.smtpActionDiscriminator",
5682
+ "equals": "sendEmailSmtp",
5683
+ "type": "simple"
5684
+ },
5685
+ {
5686
+ "property": "protocol",
5687
+ "equals": "smtp",
5688
+ "type": "simple"
5689
+ }
5690
+ ]
5691
+ },
5692
+ "tooltip": "Email's content",
5693
+ "type": "Text"
5694
+ },
5695
+ {
5696
+ "id": "smtpHtmlBody",
5697
+ "label": "Email Html Content",
5698
+ "optional": false,
3683
5699
  "feel": "optional",
3684
5700
  "group": "sendEmailSmtp",
3685
5701
  "binding": {
3686
- "name": "data.smtpAction.body",
5702
+ "name": "data.smtpAction.htmlBody",
5703
+ "type": "zeebe:input"
5704
+ },
5705
+ "condition": {
5706
+ "allMatch": [
5707
+ {
5708
+ "property": "contentType",
5709
+ "oneOf": ["HTML", "MULTIPART"],
5710
+ "type": "simple"
5711
+ },
5712
+ {
5713
+ "property": "data.smtpActionDiscriminator",
5714
+ "equals": "sendEmailSmtp",
5715
+ "type": "simple"
5716
+ },
5717
+ {
5718
+ "property": "protocol",
5719
+ "equals": "smtp",
5720
+ "type": "simple"
5721
+ }
5722
+ ]
5723
+ },
5724
+ "tooltip": "Email's Html content",
5725
+ "type": "Text"
5726
+ },
5727
+ {
5728
+ "id": "attachmentsSmtp",
5729
+ "label": "Attachment",
5730
+ "description": "Email's attachment. e.g., =[ document1, document2]",
5731
+ "optional": true,
5732
+ "feel": "required",
5733
+ "group": "sendEmailSmtp",
5734
+ "binding": {
5735
+ "name": "data.smtpAction.attachments",
3687
5736
  "type": "zeebe:input"
3688
5737
  },
3689
5738
  "condition": {
@@ -3700,17 +5749,18 @@
3700
5749
  }
3701
5750
  ]
3702
5751
  },
3703
- "tooltip": "Email's content",
3704
- "type": "Text"
5752
+ "tooltip": "Email's attachments, should be set as a list ",
5753
+ "type": "String"
3705
5754
  },
3706
5755
  {
3707
5756
  "id": "pop3maxToBeRead",
3708
5757
  "label": "Maximum number of emails to be read",
3709
5758
  "optional": false,
3710
- "value": "100",
5759
+ "value": 100,
3711
5760
  "constraints": {
3712
5761
  "notEmpty": true
3713
5762
  },
5763
+ "feel": "static",
3714
5764
  "group": "listEmailsPop3",
3715
5765
  "binding": {
3716
5766
  "name": "data.pop3Action.maxToBeRead",
@@ -3731,7 +5781,7 @@
3731
5781
  ]
3732
5782
  },
3733
5783
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3734
- "type": "String"
5784
+ "type": "Number"
3735
5785
  },
3736
5786
  {
3737
5787
  "id": "pop3SortField",
@@ -3905,10 +5955,11 @@
3905
5955
  "id": "imapMaxToBeRead",
3906
5956
  "label": "Maximum number of emails to be read",
3907
5957
  "optional": false,
3908
- "value": "100",
5958
+ "value": 100,
3909
5959
  "constraints": {
3910
5960
  "notEmpty": true
3911
5961
  },
5962
+ "feel": "static",
3912
5963
  "group": "listEmailsImap",
3913
5964
  "binding": {
3914
5965
  "name": "data.imapAction.maxToBeRead",
@@ -3929,7 +5980,7 @@
3929
5980
  ]
3930
5981
  },
3931
5982
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
3932
- "type": "String"
5983
+ "type": "Number"
3933
5984
  },
3934
5985
  {
3935
5986
  "id": "imapListEmailsFolder",
@@ -4354,7 +6405,6 @@
4354
6405
  "label": "Retry backoff",
4355
6406
  "description": "ISO-8601 duration to wait between retries",
4356
6407
  "value": "PT0S",
4357
- "feel": "optional",
4358
6408
  "group": "retries",
4359
6409
  "binding": {
4360
6410
  "key": "retryBackoff",
@@ -4367,7 +6417,7 @@
4367
6417
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
4368
6418
  },
4369
6419
  "engines": {
4370
- "camunda": "^8.6"
6420
+ "camunda": "^8.7"
4371
6421
  }
4372
6422
  },
4373
6423
  {
@@ -4375,18 +6425,8 @@
4375
6425
  "name": "Email Connector",
4376
6426
  "id": "io.camunda.connectors.email.v1",
4377
6427
  "description": "Execute email requests",
4378
- "metadata": {
4379
- "keywords": [
4380
- "send emails",
4381
- "list emails",
4382
- "search emails",
4383
- "delete emails",
4384
- "read emails",
4385
- "move emails"
4386
- ]
4387
- },
4388
6428
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
4389
- "version": 4,
6429
+ "version": 1,
4390
6430
  "category": {
4391
6431
  "id": "connectors",
4392
6432
  "name": "Connectors"
@@ -4395,9 +6435,6 @@
4395
6435
  "elementType": {
4396
6436
  "value": "bpmn:ServiceTask"
4397
6437
  },
4398
- "engines": {
4399
- "camunda": "^8.9"
4400
- },
4401
6438
  "groups": [
4402
6439
  {
4403
6440
  "id": "authentication",
@@ -4459,10 +6496,6 @@
4459
6496
  "id": "moveEmailImap",
4460
6497
  "label": "Move Emails"
4461
6498
  },
4462
- {
4463
- "id": "connector",
4464
- "label": "Connector"
4465
- },
4466
6499
  {
4467
6500
  "id": "output",
4468
6501
  "label": "Output mapping"
@@ -4488,7 +6521,7 @@
4488
6521
  {
4489
6522
  "id": "authentication.type",
4490
6523
  "label": "Authentication",
4491
- "description": "Specify the Email authentication strategy. None is only supported for SMTP.",
6524
+ "description": "Specify the Email authentication strategy.",
4492
6525
  "value": "simple",
4493
6526
  "group": "authentication",
4494
6527
  "binding": {
@@ -4500,10 +6533,6 @@
4500
6533
  {
4501
6534
  "name": "Simple",
4502
6535
  "value": "simple"
4503
- },
4504
- {
4505
- "name": "None",
4506
- "value": "noAuth"
4507
6536
  }
4508
6537
  ]
4509
6538
  },
@@ -4535,7 +6564,6 @@
4535
6564
  "constraints": {
4536
6565
  "notEmpty": true
4537
6566
  },
4538
- "feel": "optional",
4539
6567
  "group": "authentication",
4540
6568
  "binding": {
4541
6569
  "name": "authentication.password",
@@ -4599,7 +6627,7 @@
4599
6627
  "id": "data.imapPort",
4600
6628
  "label": "IMAP Port",
4601
6629
  "optional": false,
4602
- "value": 993,
6630
+ "value": "993",
4603
6631
  "constraints": {
4604
6632
  "notEmpty": true
4605
6633
  },
@@ -4615,7 +6643,7 @@
4615
6643
  "type": "simple"
4616
6644
  },
4617
6645
  "tooltip": "Enter the port number for connecting to the IMAP server. Common ports are 993 for secure connections using SSL/TLS, or 143 for non-secure connections.",
4618
- "type": "Number"
6646
+ "type": "String"
4619
6647
  },
4620
6648
  {
4621
6649
  "id": "imapCryptographicProtocol",
@@ -4642,13 +6670,13 @@
4642
6670
  "name": "TLS",
4643
6671
  "value": "TLS"
4644
6672
  },
4645
- {
4646
- "name": "SSL",
4647
- "value": "SSL"
4648
- },
4649
6673
  {
4650
6674
  "name": "None",
4651
6675
  "value": "NONE"
6676
+ },
6677
+ {
6678
+ "name": "SSL",
6679
+ "value": "SSL"
4652
6680
  }
4653
6681
  ]
4654
6682
  },
@@ -4677,7 +6705,7 @@
4677
6705
  "id": "data.pop3Port",
4678
6706
  "label": "POP3 Port",
4679
6707
  "optional": false,
4680
- "value": 995,
6708
+ "value": "995",
4681
6709
  "constraints": {
4682
6710
  "notEmpty": true
4683
6711
  },
@@ -4693,7 +6721,7 @@
4693
6721
  "type": "simple"
4694
6722
  },
4695
6723
  "tooltip": "Enter the port number for connecting to the POP3 server. The standard port is 995 for secure connections with SSL/TLS, or 110 for non-secure connections.",
4696
- "type": "Number"
6724
+ "type": "String"
4697
6725
  },
4698
6726
  {
4699
6727
  "id": "pop3CryptographicProtocol",
@@ -4720,13 +6748,13 @@
4720
6748
  "name": "TLS",
4721
6749
  "value": "TLS"
4722
6750
  },
4723
- {
4724
- "name": "SSL",
4725
- "value": "SSL"
4726
- },
4727
6751
  {
4728
6752
  "name": "None",
4729
6753
  "value": "NONE"
6754
+ },
6755
+ {
6756
+ "name": "SSL",
6757
+ "value": "SSL"
4730
6758
  }
4731
6759
  ]
4732
6760
  },
@@ -4755,7 +6783,7 @@
4755
6783
  "id": "data.smtpPort",
4756
6784
  "label": "SMTP Port",
4757
6785
  "optional": false,
4758
- "value": 587,
6786
+ "value": "587",
4759
6787
  "constraints": {
4760
6788
  "notEmpty": true
4761
6789
  },
@@ -4771,7 +6799,7 @@
4771
6799
  "type": "simple"
4772
6800
  },
4773
6801
  "tooltip": "Enter the port number for connecting to the SMTP server. Typically, port 587 is used for secure connections with STARTTLS, port 465 for secure connections using SSL/TLS, and port 25 for non-secure connections.",
4774
- "type": "Number"
6802
+ "type": "String"
4775
6803
  },
4776
6804
  {
4777
6805
  "id": "smtpCryptographicProtocol",
@@ -4798,13 +6826,13 @@
4798
6826
  "name": "TLS",
4799
6827
  "value": "TLS"
4800
6828
  },
4801
- {
4802
- "name": "SSL",
4803
- "value": "SSL"
4804
- },
4805
6829
  {
4806
6830
  "name": "None",
4807
6831
  "value": "NONE"
6832
+ },
6833
+ {
6834
+ "name": "SSL",
6835
+ "value": "SSL"
4808
6836
  }
4809
6837
  ]
4810
6838
  },
@@ -5016,33 +7044,6 @@
5016
7044
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
5017
7045
  "type": "String"
5018
7046
  },
5019
- {
5020
- "id": "smtpHeaders",
5021
- "label": "Headers",
5022
- "optional": true,
5023
- "feel": "required",
5024
- "group": "sendEmailSmtp",
5025
- "binding": {
5026
- "name": "data.smtpAction.headers",
5027
- "type": "zeebe:input"
5028
- },
5029
- "condition": {
5030
- "allMatch": [
5031
- {
5032
- "property": "data.smtpActionDiscriminator",
5033
- "equals": "sendEmailSmtp",
5034
- "type": "simple"
5035
- },
5036
- {
5037
- "property": "protocol",
5038
- "equals": "smtp",
5039
- "type": "simple"
5040
- }
5041
- ]
5042
- },
5043
- "tooltip": "Additional email headers",
5044
- "type": "String"
5045
- },
5046
7047
  {
5047
7048
  "id": "smtpSubject",
5048
7049
  "label": "Subject",
@@ -5074,53 +7075,12 @@
5074
7075
  "type": "String"
5075
7076
  },
5076
7077
  {
5077
- "id": "contentType",
5078
- "label": "ContentType",
7078
+ "id": "smtpBody",
7079
+ "label": "Email Content",
5079
7080
  "optional": false,
5080
- "value": "PLAIN",
5081
7081
  "constraints": {
5082
7082
  "notEmpty": true
5083
7083
  },
5084
- "group": "sendEmailSmtp",
5085
- "binding": {
5086
- "name": "data.smtpAction.contentType",
5087
- "type": "zeebe:input"
5088
- },
5089
- "condition": {
5090
- "allMatch": [
5091
- {
5092
- "property": "data.smtpActionDiscriminator",
5093
- "equals": "sendEmailSmtp",
5094
- "type": "simple"
5095
- },
5096
- {
5097
- "property": "protocol",
5098
- "equals": "smtp",
5099
- "type": "simple"
5100
- }
5101
- ]
5102
- },
5103
- "tooltip": "Email's contentType",
5104
- "type": "Dropdown",
5105
- "choices": [
5106
- {
5107
- "name": "PLAIN",
5108
- "value": "PLAIN"
5109
- },
5110
- {
5111
- "name": "HTML",
5112
- "value": "HTML"
5113
- },
5114
- {
5115
- "name": "HTML & Plaintext",
5116
- "value": "MULTIPART"
5117
- }
5118
- ]
5119
- },
5120
- {
5121
- "id": "smtpBody",
5122
- "label": "Email Text Content",
5123
- "optional": false,
5124
7084
  "feel": "optional",
5125
7085
  "group": "sendEmailSmtp",
5126
7086
  "binding": {
@@ -5129,11 +7089,6 @@
5129
7089
  },
5130
7090
  "condition": {
5131
7091
  "allMatch": [
5132
- {
5133
- "property": "contentType",
5134
- "oneOf": ["PLAIN", "MULTIPART"],
5135
- "type": "simple"
5136
- },
5137
7092
  {
5138
7093
  "property": "data.smtpActionDiscriminator",
5139
7094
  "equals": "sendEmailSmtp",
@@ -5149,75 +7104,14 @@
5149
7104
  "tooltip": "Email's content",
5150
7105
  "type": "Text"
5151
7106
  },
5152
- {
5153
- "id": "smtpHtmlBody",
5154
- "label": "Email Html Content",
5155
- "optional": false,
5156
- "feel": "optional",
5157
- "group": "sendEmailSmtp",
5158
- "binding": {
5159
- "name": "data.smtpAction.htmlBody",
5160
- "type": "zeebe:input"
5161
- },
5162
- "condition": {
5163
- "allMatch": [
5164
- {
5165
- "property": "contentType",
5166
- "oneOf": ["HTML", "MULTIPART"],
5167
- "type": "simple"
5168
- },
5169
- {
5170
- "property": "data.smtpActionDiscriminator",
5171
- "equals": "sendEmailSmtp",
5172
- "type": "simple"
5173
- },
5174
- {
5175
- "property": "protocol",
5176
- "equals": "smtp",
5177
- "type": "simple"
5178
- }
5179
- ]
5180
- },
5181
- "tooltip": "Email's Html content",
5182
- "type": "Text"
5183
- },
5184
- {
5185
- "id": "attachmentsSmtp",
5186
- "label": "Attachment",
5187
- "description": "Email's attachment. e.g., =[ document1, document2]",
5188
- "optional": true,
5189
- "feel": "required",
5190
- "group": "sendEmailSmtp",
5191
- "binding": {
5192
- "name": "data.smtpAction.attachments",
5193
- "type": "zeebe:input"
5194
- },
5195
- "condition": {
5196
- "allMatch": [
5197
- {
5198
- "property": "data.smtpActionDiscriminator",
5199
- "equals": "sendEmailSmtp",
5200
- "type": "simple"
5201
- },
5202
- {
5203
- "property": "protocol",
5204
- "equals": "smtp",
5205
- "type": "simple"
5206
- }
5207
- ]
5208
- },
5209
- "tooltip": "Email's attachments, should be set as a list ",
5210
- "type": "String"
5211
- },
5212
7107
  {
5213
7108
  "id": "pop3maxToBeRead",
5214
7109
  "label": "Maximum number of emails to be read",
5215
7110
  "optional": false,
5216
- "value": 100,
7111
+ "value": "100",
5217
7112
  "constraints": {
5218
7113
  "notEmpty": true
5219
7114
  },
5220
- "feel": "static",
5221
7115
  "group": "listEmailsPop3",
5222
7116
  "binding": {
5223
7117
  "name": "data.pop3Action.maxToBeRead",
@@ -5238,7 +7132,7 @@
5238
7132
  ]
5239
7133
  },
5240
7134
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
5241
- "type": "Number"
7135
+ "type": "String"
5242
7136
  },
5243
7137
  {
5244
7138
  "id": "pop3SortField",
@@ -5412,11 +7306,10 @@
5412
7306
  "id": "imapMaxToBeRead",
5413
7307
  "label": "Maximum number of emails to be read",
5414
7308
  "optional": false,
5415
- "value": 100,
7309
+ "value": "100",
5416
7310
  "constraints": {
5417
7311
  "notEmpty": true
5418
7312
  },
5419
- "feel": "static",
5420
7313
  "group": "listEmailsImap",
5421
7314
  "binding": {
5422
7315
  "name": "data.imapAction.maxToBeRead",
@@ -5437,7 +7330,7 @@
5437
7330
  ]
5438
7331
  },
5439
7332
  "tooltip": "Enter the maximum number of emails to be read from the specified folder. This limits the number of emails fetched to avoid performance issues with large mailboxes. The default value is set to 100.",
5440
- "type": "Number"
7333
+ "type": "String"
5441
7334
  },
5442
7335
  {
5443
7336
  "id": "imapListEmailsFolder",
@@ -5809,30 +7702,6 @@
5809
7702
  "tooltip": "Specify the destination folder to which the emails will be moved. To create a new folder or a hierarchy of folders, use a dot-separated path (e.g., 'Archive' or 'Projects.2023.January'). If any part of the path does not exist, it will be created automatically.",
5810
7703
  "type": "String"
5811
7704
  },
5812
- {
5813
- "id": "version",
5814
- "label": "Version",
5815
- "description": "Version of the element template",
5816
- "value": "4",
5817
- "group": "connector",
5818
- "binding": {
5819
- "key": "elementTemplateVersion",
5820
- "type": "zeebe:taskHeader"
5821
- },
5822
- "type": "Hidden"
5823
- },
5824
- {
5825
- "id": "id",
5826
- "label": "ID",
5827
- "description": "ID of the element template",
5828
- "value": "io.camunda.connectors.email.v1",
5829
- "group": "connector",
5830
- "binding": {
5831
- "key": "elementTemplateId",
5832
- "type": "zeebe:taskHeader"
5833
- },
5834
- "type": "Hidden"
5835
- },
5836
7705
  {
5837
7706
  "id": "resultVariable",
5838
7707
  "label": "Result variable",
@@ -5886,6 +7755,7 @@
5886
7755
  "label": "Retry backoff",
5887
7756
  "description": "ISO-8601 duration to wait between retries",
5888
7757
  "value": "PT0S",
7758
+ "feel": "optional",
5889
7759
  "group": "retries",
5890
7760
  "binding": {
5891
7761
  "key": "retryBackoff",
@@ -5896,6 +7766,9 @@
5896
7766
  ],
5897
7767
  "icon": {
5898
7768
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
7769
+ },
7770
+ "engines": {
7771
+ "camunda": "^8.6"
5899
7772
  }
5900
7773
  }
5901
7774
  ]