@camunda/connectors-element-templates 1.0.17 → 1.0.19

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 (125) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -2
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
  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 +736 -739
  14. package/src/element-templates/asana-connector.json +759 -48
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
  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 +747 -10
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
  29. package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
  30. package/src/element-templates/aws-s3-outbound-connector.json +646 -5
  31. package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
  32. package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
  34. package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
  35. package/src/element-templates/aws-sns-inbound-receive.json +13 -6
  36. package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
  37. package/src/element-templates/aws-sns-outbound-connector.json +581 -577
  38. package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
  40. package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
  43. package/src/element-templates/aws-sqs-start-message.json +461 -457
  44. package/src/element-templates/aws-textract-outbound-connector.json +109 -105
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +569 -24
  48. package/src/element-templates/box-outbound-connector.json +924 -12
  49. package/src/element-templates/csv-outbound-connector.json +13 -5
  50. package/src/element-templates/easy-post-connector.json +1077 -109
  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 +58 -50
  55. package/src/element-templates/email-outbound-connector.json +2116 -243
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
  57. package/src/element-templates/github-connector.json +15257 -11722
  58. package/src/element-templates/github-webhook-connector-boundary.json +27 -29
  59. package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
  60. package/src/element-templates/github-webhook-connector-message-start.json +11 -13
  61. package/src/element-templates/github-webhook-connector-receive.json +13 -15
  62. package/src/element-templates/github-webhook-connector-start-event.json +54 -56
  63. package/src/element-templates/gitlab-connector.json +4177 -2545
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
  65. package/src/element-templates/google-drive-outbound-connector.json +1386 -766
  66. package/src/element-templates/google-gemini-outbound-connector.json +13 -5
  67. package/src/element-templates/google-maps-platform-connector.json +1059 -30
  68. package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
  69. package/src/element-templates/graphql-outbound-connector.json +1744 -1735
  70. package/src/element-templates/http-json-connector.json +2982 -2332
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
  72. package/src/element-templates/http-polling-connector.json +1512 -1501
  73. package/src/element-templates/hubspot-outbound-connector.json +2371 -25
  74. package/src/element-templates/hugging-face-connector.json +234 -3
  75. package/src/element-templates/jdbc-outbound-connector.json +20 -6
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +518 -512
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
  85. package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
  87. package/src/element-templates/openai-connector.json +550 -87
  88. package/src/element-templates/operate-connector.json +1198 -46
  89. package/src/element-templates/power-automate-connector.json +601 -9
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
  95. package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +544 -0
  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 +945 -337
  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 +490 -192
  106. package/src/element-templates/slack-inbound-intermediate.json +421 -123
  107. package/src/element-templates/slack-inbound-message-start.json +469 -139
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +216 -211
  110. package/src/element-templates/slack-outbound-connector.json +2451 -753
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1573 -93
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
  114. package/src/element-templates/twilio-webhook-connector.json +243 -13
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
  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 +594 -2
  119. package/src/element-templates/webhook-connector-boundary.json +580 -570
  120. package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
  121. package/src/element-templates/webhook-connector-receive.json +16 -6
  122. package/src/element-templates/webhook-connector-start-event.json +1382 -1375
  123. package/src/element-templates/webhook-connector-start-message.json +1306 -1296
  124. package/src/element-templates/whatsapp-connector.json +343 -9
  125. package/src/element-templates/http-connector.json.json +0 -654
@@ -4,8 +4,18 @@
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
+ ]
16
+ },
7
17
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
8
- "version": 1,
18
+ "version": 3,
9
19
  "category": {
10
20
  "id": "connectors",
11
21
  "name": "Connectors"
@@ -14,6 +24,9 @@
14
24
  "elementType": {
15
25
  "value": "bpmn:ServiceTask"
16
26
  },
27
+ "engines": {
28
+ "camunda": "^8.6"
29
+ },
17
30
  "groups": [
18
31
  {
19
32
  "id": "authentication",
@@ -75,6 +88,10 @@
75
88
  "id": "moveEmailImap",
76
89
  "label": "Move Emails"
77
90
  },
91
+ {
92
+ "id": "connector",
93
+ "label": "Connector"
94
+ },
78
95
  {
79
96
  "id": "output",
80
97
  "label": "Output mapping"
@@ -143,6 +160,7 @@
143
160
  "constraints": {
144
161
  "notEmpty": true
145
162
  },
163
+ "feel": "optional",
146
164
  "group": "authentication",
147
165
  "binding": {
148
166
  "name": "authentication.password",
@@ -206,7 +224,7 @@
206
224
  "id": "data.imapPort",
207
225
  "label": "IMAP Port",
208
226
  "optional": false,
209
- "value": "993",
227
+ "value": 993,
210
228
  "constraints": {
211
229
  "notEmpty": true
212
230
  },
@@ -222,7 +240,7 @@
222
240
  "type": "simple"
223
241
  },
224
242
  "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.",
225
- "type": "String"
243
+ "type": "Number"
226
244
  },
227
245
  {
228
246
  "id": "imapCryptographicProtocol",
@@ -249,13 +267,13 @@
249
267
  "name": "TLS",
250
268
  "value": "TLS"
251
269
  },
252
- {
253
- "name": "None",
254
- "value": "NONE"
255
- },
256
270
  {
257
271
  "name": "SSL",
258
272
  "value": "SSL"
273
+ },
274
+ {
275
+ "name": "None",
276
+ "value": "NONE"
259
277
  }
260
278
  ]
261
279
  },
@@ -284,7 +302,7 @@
284
302
  "id": "data.pop3Port",
285
303
  "label": "POP3 Port",
286
304
  "optional": false,
287
- "value": "995",
305
+ "value": 995,
288
306
  "constraints": {
289
307
  "notEmpty": true
290
308
  },
@@ -300,7 +318,7 @@
300
318
  "type": "simple"
301
319
  },
302
320
  "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.",
303
- "type": "String"
321
+ "type": "Number"
304
322
  },
305
323
  {
306
324
  "id": "pop3CryptographicProtocol",
@@ -327,13 +345,13 @@
327
345
  "name": "TLS",
328
346
  "value": "TLS"
329
347
  },
330
- {
331
- "name": "None",
332
- "value": "NONE"
333
- },
334
348
  {
335
349
  "name": "SSL",
336
350
  "value": "SSL"
351
+ },
352
+ {
353
+ "name": "None",
354
+ "value": "NONE"
337
355
  }
338
356
  ]
339
357
  },
@@ -362,7 +380,7 @@
362
380
  "id": "data.smtpPort",
363
381
  "label": "SMTP Port",
364
382
  "optional": false,
365
- "value": "587",
383
+ "value": 587,
366
384
  "constraints": {
367
385
  "notEmpty": true
368
386
  },
@@ -378,7 +396,7 @@
378
396
  "type": "simple"
379
397
  },
380
398
  "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.",
381
- "type": "String"
399
+ "type": "Number"
382
400
  },
383
401
  {
384
402
  "id": "smtpCryptographicProtocol",
@@ -405,13 +423,13 @@
405
423
  "name": "TLS",
406
424
  "value": "TLS"
407
425
  },
408
- {
409
- "name": "None",
410
- "value": "NONE"
411
- },
412
426
  {
413
427
  "name": "SSL",
414
428
  "value": "SSL"
429
+ },
430
+ {
431
+ "name": "None",
432
+ "value": "NONE"
415
433
  }
416
434
  ]
417
435
  },
@@ -623,6 +641,33 @@
623
641
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
624
642
  "type": "String"
625
643
  },
644
+ {
645
+ "id": "smtpHeaders",
646
+ "label": "Headers",
647
+ "optional": true,
648
+ "feel": "required",
649
+ "group": "sendEmailSmtp",
650
+ "binding": {
651
+ "name": "data.smtpAction.headers",
652
+ "type": "zeebe:input"
653
+ },
654
+ "condition": {
655
+ "allMatch": [
656
+ {
657
+ "property": "data.smtpActionDiscriminator",
658
+ "equals": "sendEmailSmtp",
659
+ "type": "simple"
660
+ },
661
+ {
662
+ "property": "protocol",
663
+ "equals": "smtp",
664
+ "type": "simple"
665
+ }
666
+ ]
667
+ },
668
+ "tooltip": "Additional email headers",
669
+ "type": "String"
670
+ },
626
671
  {
627
672
  "id": "smtpSubject",
628
673
  "label": "Subject",
@@ -654,12 +699,53 @@
654
699
  "type": "String"
655
700
  },
656
701
  {
657
- "id": "smtpBody",
658
- "label": "Email Content",
702
+ "id": "contentType",
703
+ "label": "ContentType",
659
704
  "optional": false,
705
+ "value": "PLAIN",
660
706
  "constraints": {
661
707
  "notEmpty": true
662
708
  },
709
+ "group": "sendEmailSmtp",
710
+ "binding": {
711
+ "name": "data.smtpAction.contentType",
712
+ "type": "zeebe:input"
713
+ },
714
+ "condition": {
715
+ "allMatch": [
716
+ {
717
+ "property": "data.smtpActionDiscriminator",
718
+ "equals": "sendEmailSmtp",
719
+ "type": "simple"
720
+ },
721
+ {
722
+ "property": "protocol",
723
+ "equals": "smtp",
724
+ "type": "simple"
725
+ }
726
+ ]
727
+ },
728
+ "tooltip": "Email's contentType",
729
+ "type": "Dropdown",
730
+ "choices": [
731
+ {
732
+ "name": "PLAIN",
733
+ "value": "PLAIN"
734
+ },
735
+ {
736
+ "name": "HTML",
737
+ "value": "HTML"
738
+ },
739
+ {
740
+ "name": "HTML & Plaintext",
741
+ "value": "MULTIPART"
742
+ }
743
+ ]
744
+ },
745
+ {
746
+ "id": "smtpBody",
747
+ "label": "Email Text Content",
748
+ "optional": false,
663
749
  "feel": "optional",
664
750
  "group": "sendEmailSmtp",
665
751
  "binding": {
@@ -668,6 +754,11 @@
668
754
  },
669
755
  "condition": {
670
756
  "allMatch": [
757
+ {
758
+ "property": "contentType",
759
+ "oneOf": ["PLAIN", "MULTIPART"],
760
+ "type": "simple"
761
+ },
671
762
  {
672
763
  "property": "data.smtpActionDiscriminator",
673
764
  "equals": "sendEmailSmtp",
@@ -683,14 +774,75 @@
683
774
  "tooltip": "Email's content",
684
775
  "type": "Text"
685
776
  },
777
+ {
778
+ "id": "smtpHtmlBody",
779
+ "label": "Email Html Content",
780
+ "optional": false,
781
+ "feel": "optional",
782
+ "group": "sendEmailSmtp",
783
+ "binding": {
784
+ "name": "data.smtpAction.htmlBody",
785
+ "type": "zeebe:input"
786
+ },
787
+ "condition": {
788
+ "allMatch": [
789
+ {
790
+ "property": "contentType",
791
+ "oneOf": ["HTML", "MULTIPART"],
792
+ "type": "simple"
793
+ },
794
+ {
795
+ "property": "data.smtpActionDiscriminator",
796
+ "equals": "sendEmailSmtp",
797
+ "type": "simple"
798
+ },
799
+ {
800
+ "property": "protocol",
801
+ "equals": "smtp",
802
+ "type": "simple"
803
+ }
804
+ ]
805
+ },
806
+ "tooltip": "Email's Html content",
807
+ "type": "Text"
808
+ },
809
+ {
810
+ "id": "attachmentsSmtp",
811
+ "label": "Attachment",
812
+ "description": "Email's attachment. e.g., =[ document1, document2]",
813
+ "optional": true,
814
+ "feel": "required",
815
+ "group": "sendEmailSmtp",
816
+ "binding": {
817
+ "name": "data.smtpAction.attachments",
818
+ "type": "zeebe:input"
819
+ },
820
+ "condition": {
821
+ "allMatch": [
822
+ {
823
+ "property": "data.smtpActionDiscriminator",
824
+ "equals": "sendEmailSmtp",
825
+ "type": "simple"
826
+ },
827
+ {
828
+ "property": "protocol",
829
+ "equals": "smtp",
830
+ "type": "simple"
831
+ }
832
+ ]
833
+ },
834
+ "tooltip": "Email's attachments, should be set as a list ",
835
+ "type": "String"
836
+ },
686
837
  {
687
838
  "id": "pop3maxToBeRead",
688
839
  "label": "Maximum number of emails to be read",
689
840
  "optional": false,
690
- "value": "100",
841
+ "value": 100,
691
842
  "constraints": {
692
843
  "notEmpty": true
693
844
  },
845
+ "feel": "static",
694
846
  "group": "listEmailsPop3",
695
847
  "binding": {
696
848
  "name": "data.pop3Action.maxToBeRead",
@@ -711,7 +863,7 @@
711
863
  ]
712
864
  },
713
865
  "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.",
714
- "type": "String"
866
+ "type": "Number"
715
867
  },
716
868
  {
717
869
  "id": "pop3SortField",
@@ -885,10 +1037,11 @@
885
1037
  "id": "imapMaxToBeRead",
886
1038
  "label": "Maximum number of emails to be read",
887
1039
  "optional": false,
888
- "value": "100",
1040
+ "value": 100,
889
1041
  "constraints": {
890
1042
  "notEmpty": true
891
1043
  },
1044
+ "feel": "static",
892
1045
  "group": "listEmailsImap",
893
1046
  "binding": {
894
1047
  "name": "data.imapAction.maxToBeRead",
@@ -909,7 +1062,7 @@
909
1062
  ]
910
1063
  },
911
1064
  "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.",
912
- "type": "String"
1065
+ "type": "Number"
913
1066
  },
914
1067
  {
915
1068
  "id": "imapListEmailsFolder",
@@ -1281,6 +1434,30 @@
1281
1434
  "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.",
1282
1435
  "type": "String"
1283
1436
  },
1437
+ {
1438
+ "id": "version",
1439
+ "label": "Version",
1440
+ "description": "Version of the element template",
1441
+ "value": "3",
1442
+ "group": "connector",
1443
+ "binding": {
1444
+ "key": "elementTemplateVersion",
1445
+ "type": "zeebe:taskHeader"
1446
+ },
1447
+ "type": "Hidden"
1448
+ },
1449
+ {
1450
+ "id": "id",
1451
+ "label": "ID",
1452
+ "description": "ID of the element template",
1453
+ "value": "io.camunda.connectors.email.v1",
1454
+ "group": "connector",
1455
+ "binding": {
1456
+ "key": "elementTemplateId",
1457
+ "type": "zeebe:taskHeader"
1458
+ },
1459
+ "type": "Hidden"
1460
+ },
1284
1461
  {
1285
1462
  "id": "resultVariable",
1286
1463
  "label": "Result variable",
@@ -1334,7 +1511,6 @@
1334
1511
  "label": "Retry backoff",
1335
1512
  "description": "ISO-8601 duration to wait between retries",
1336
1513
  "value": "PT0S",
1337
- "feel": "optional",
1338
1514
  "group": "retries",
1339
1515
  "binding": {
1340
1516
  "key": "retryBackoff",
@@ -1345,9 +1521,6 @@
1345
1521
  ],
1346
1522
  "icon": {
1347
1523
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
1348
- },
1349
- "engines": {
1350
- "camunda": "^8.6"
1351
1524
  }
1352
1525
  },
1353
1526
  {
@@ -1355,18 +1528,8 @@
1355
1528
  "name": "Email Connector",
1356
1529
  "id": "io.camunda.connectors.email.v1",
1357
1530
  "description": "Execute email requests",
1358
- "metadata": {
1359
- "keywords": [
1360
- "send emails",
1361
- "list emails",
1362
- "search emails",
1363
- "delete emails",
1364
- "read emails",
1365
- "move emails"
1366
- ]
1367
- },
1368
1531
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
1369
- "version": 3,
1532
+ "version": 1,
1370
1533
  "category": {
1371
1534
  "id": "connectors",
1372
1535
  "name": "Connectors"
@@ -1375,9 +1538,6 @@
1375
1538
  "elementType": {
1376
1539
  "value": "bpmn:ServiceTask"
1377
1540
  },
1378
- "engines": {
1379
- "camunda": "^8.6"
1380
- },
1381
1541
  "groups": [
1382
1542
  {
1383
1543
  "id": "authentication",
@@ -1439,10 +1599,6 @@
1439
1599
  "id": "moveEmailImap",
1440
1600
  "label": "Move Emails"
1441
1601
  },
1442
- {
1443
- "id": "connector",
1444
- "label": "Connector"
1445
- },
1446
1602
  {
1447
1603
  "id": "output",
1448
1604
  "label": "Output mapping"
@@ -1511,7 +1667,6 @@
1511
1667
  "constraints": {
1512
1668
  "notEmpty": true
1513
1669
  },
1514
- "feel": "optional",
1515
1670
  "group": "authentication",
1516
1671
  "binding": {
1517
1672
  "name": "authentication.password",
@@ -1575,7 +1730,7 @@
1575
1730
  "id": "data.imapPort",
1576
1731
  "label": "IMAP Port",
1577
1732
  "optional": false,
1578
- "value": 993,
1733
+ "value": "993",
1579
1734
  "constraints": {
1580
1735
  "notEmpty": true
1581
1736
  },
@@ -1591,7 +1746,7 @@
1591
1746
  "type": "simple"
1592
1747
  },
1593
1748
  "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.",
1594
- "type": "Number"
1749
+ "type": "String"
1595
1750
  },
1596
1751
  {
1597
1752
  "id": "imapCryptographicProtocol",
@@ -1618,13 +1773,13 @@
1618
1773
  "name": "TLS",
1619
1774
  "value": "TLS"
1620
1775
  },
1621
- {
1622
- "name": "SSL",
1623
- "value": "SSL"
1624
- },
1625
1776
  {
1626
1777
  "name": "None",
1627
1778
  "value": "NONE"
1779
+ },
1780
+ {
1781
+ "name": "SSL",
1782
+ "value": "SSL"
1628
1783
  }
1629
1784
  ]
1630
1785
  },
@@ -1653,7 +1808,7 @@
1653
1808
  "id": "data.pop3Port",
1654
1809
  "label": "POP3 Port",
1655
1810
  "optional": false,
1656
- "value": 995,
1811
+ "value": "995",
1657
1812
  "constraints": {
1658
1813
  "notEmpty": true
1659
1814
  },
@@ -1669,7 +1824,7 @@
1669
1824
  "type": "simple"
1670
1825
  },
1671
1826
  "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.",
1672
- "type": "Number"
1827
+ "type": "String"
1673
1828
  },
1674
1829
  {
1675
1830
  "id": "pop3CryptographicProtocol",
@@ -1696,13 +1851,13 @@
1696
1851
  "name": "TLS",
1697
1852
  "value": "TLS"
1698
1853
  },
1699
- {
1700
- "name": "SSL",
1701
- "value": "SSL"
1702
- },
1703
1854
  {
1704
1855
  "name": "None",
1705
1856
  "value": "NONE"
1857
+ },
1858
+ {
1859
+ "name": "SSL",
1860
+ "value": "SSL"
1706
1861
  }
1707
1862
  ]
1708
1863
  },
@@ -1731,7 +1886,7 @@
1731
1886
  "id": "data.smtpPort",
1732
1887
  "label": "SMTP Port",
1733
1888
  "optional": false,
1734
- "value": 587,
1889
+ "value": "587",
1735
1890
  "constraints": {
1736
1891
  "notEmpty": true
1737
1892
  },
@@ -1747,7 +1902,7 @@
1747
1902
  "type": "simple"
1748
1903
  },
1749
1904
  "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.",
1750
- "type": "Number"
1905
+ "type": "String"
1751
1906
  },
1752
1907
  {
1753
1908
  "id": "smtpCryptographicProtocol",
@@ -1774,13 +1929,13 @@
1774
1929
  "name": "TLS",
1775
1930
  "value": "TLS"
1776
1931
  },
1777
- {
1778
- "name": "SSL",
1779
- "value": "SSL"
1780
- },
1781
1932
  {
1782
1933
  "name": "None",
1783
1934
  "value": "NONE"
1935
+ },
1936
+ {
1937
+ "name": "SSL",
1938
+ "value": "SSL"
1784
1939
  }
1785
1940
  ]
1786
1941
  },
@@ -1992,33 +2147,6 @@
1992
2147
  "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
1993
2148
  "type": "String"
1994
2149
  },
1995
- {
1996
- "id": "smtpHeaders",
1997
- "label": "Headers",
1998
- "optional": true,
1999
- "feel": "required",
2000
- "group": "sendEmailSmtp",
2001
- "binding": {
2002
- "name": "data.smtpAction.headers",
2003
- "type": "zeebe:input"
2004
- },
2005
- "condition": {
2006
- "allMatch": [
2007
- {
2008
- "property": "data.smtpActionDiscriminator",
2009
- "equals": "sendEmailSmtp",
2010
- "type": "simple"
2011
- },
2012
- {
2013
- "property": "protocol",
2014
- "equals": "smtp",
2015
- "type": "simple"
2016
- }
2017
- ]
2018
- },
2019
- "tooltip": "Additional email headers",
2020
- "type": "String"
2021
- },
2022
2150
  {
2023
2151
  "id": "smtpSubject",
2024
2152
  "label": "Subject",
@@ -2050,53 +2178,12 @@
2050
2178
  "type": "String"
2051
2179
  },
2052
2180
  {
2053
- "id": "contentType",
2054
- "label": "ContentType",
2181
+ "id": "smtpBody",
2182
+ "label": "Email Content",
2055
2183
  "optional": false,
2056
- "value": "PLAIN",
2057
2184
  "constraints": {
2058
2185
  "notEmpty": true
2059
2186
  },
2060
- "group": "sendEmailSmtp",
2061
- "binding": {
2062
- "name": "data.smtpAction.contentType",
2063
- "type": "zeebe:input"
2064
- },
2065
- "condition": {
2066
- "allMatch": [
2067
- {
2068
- "property": "data.smtpActionDiscriminator",
2069
- "equals": "sendEmailSmtp",
2070
- "type": "simple"
2071
- },
2072
- {
2073
- "property": "protocol",
2074
- "equals": "smtp",
2075
- "type": "simple"
2076
- }
2077
- ]
2078
- },
2079
- "tooltip": "Email's contentType",
2080
- "type": "Dropdown",
2081
- "choices": [
2082
- {
2083
- "name": "PLAIN",
2084
- "value": "PLAIN"
2085
- },
2086
- {
2087
- "name": "HTML",
2088
- "value": "HTML"
2089
- },
2090
- {
2091
- "name": "HTML & Plaintext",
2092
- "value": "MULTIPART"
2093
- }
2094
- ]
2095
- },
2096
- {
2097
- "id": "smtpBody",
2098
- "label": "Email Text Content",
2099
- "optional": false,
2100
2187
  "feel": "optional",
2101
2188
  "group": "sendEmailSmtp",
2102
2189
  "binding": {
@@ -2105,11 +2192,6 @@
2105
2192
  },
2106
2193
  "condition": {
2107
2194
  "allMatch": [
2108
- {
2109
- "property": "contentType",
2110
- "oneOf": ["PLAIN", "MULTIPART"],
2111
- "type": "simple"
2112
- },
2113
2195
  {
2114
2196
  "property": "data.smtpActionDiscriminator",
2115
2197
  "equals": "sendEmailSmtp",
@@ -2125,75 +2207,14 @@
2125
2207
  "tooltip": "Email's content",
2126
2208
  "type": "Text"
2127
2209
  },
2128
- {
2129
- "id": "smtpHtmlBody",
2130
- "label": "Email Html Content",
2131
- "optional": false,
2132
- "feel": "optional",
2133
- "group": "sendEmailSmtp",
2134
- "binding": {
2135
- "name": "data.smtpAction.htmlBody",
2136
- "type": "zeebe:input"
2137
- },
2138
- "condition": {
2139
- "allMatch": [
2140
- {
2141
- "property": "contentType",
2142
- "oneOf": ["HTML", "MULTIPART"],
2143
- "type": "simple"
2144
- },
2145
- {
2146
- "property": "data.smtpActionDiscriminator",
2147
- "equals": "sendEmailSmtp",
2148
- "type": "simple"
2149
- },
2150
- {
2151
- "property": "protocol",
2152
- "equals": "smtp",
2153
- "type": "simple"
2154
- }
2155
- ]
2156
- },
2157
- "tooltip": "Email's Html content",
2158
- "type": "Text"
2159
- },
2160
- {
2161
- "id": "attachmentsSmtp",
2162
- "label": "Attachment",
2163
- "description": "Email's attachment. e.g., =[ document1, document2]",
2164
- "optional": true,
2165
- "feel": "required",
2166
- "group": "sendEmailSmtp",
2167
- "binding": {
2168
- "name": "data.smtpAction.attachments",
2169
- "type": "zeebe:input"
2170
- },
2171
- "condition": {
2172
- "allMatch": [
2173
- {
2174
- "property": "data.smtpActionDiscriminator",
2175
- "equals": "sendEmailSmtp",
2176
- "type": "simple"
2177
- },
2178
- {
2179
- "property": "protocol",
2180
- "equals": "smtp",
2181
- "type": "simple"
2182
- }
2183
- ]
2184
- },
2185
- "tooltip": "Email's attachments, should be set as a list ",
2186
- "type": "String"
2187
- },
2188
2210
  {
2189
2211
  "id": "pop3maxToBeRead",
2190
2212
  "label": "Maximum number of emails to be read",
2191
2213
  "optional": false,
2192
- "value": 100,
2214
+ "value": "100",
2193
2215
  "constraints": {
2194
2216
  "notEmpty": true
2195
2217
  },
2196
- "feel": "static",
2197
2218
  "group": "listEmailsPop3",
2198
2219
  "binding": {
2199
2220
  "name": "data.pop3Action.maxToBeRead",
@@ -2214,7 +2235,7 @@
2214
2235
  ]
2215
2236
  },
2216
2237
  "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.",
2217
- "type": "Number"
2238
+ "type": "String"
2218
2239
  },
2219
2240
  {
2220
2241
  "id": "pop3SortField",
@@ -2388,11 +2409,10 @@
2388
2409
  "id": "imapMaxToBeRead",
2389
2410
  "label": "Maximum number of emails to be read",
2390
2411
  "optional": false,
2391
- "value": 100,
2412
+ "value": "100",
2392
2413
  "constraints": {
2393
2414
  "notEmpty": true
2394
2415
  },
2395
- "feel": "static",
2396
2416
  "group": "listEmailsImap",
2397
2417
  "binding": {
2398
2418
  "name": "data.imapAction.maxToBeRead",
@@ -2413,7 +2433,7 @@
2413
2433
  ]
2414
2434
  },
2415
2435
  "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.",
2416
- "type": "Number"
2436
+ "type": "String"
2417
2437
  },
2418
2438
  {
2419
2439
  "id": "imapListEmailsFolder",
@@ -2785,30 +2805,6 @@
2785
2805
  "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.",
2786
2806
  "type": "String"
2787
2807
  },
2788
- {
2789
- "id": "version",
2790
- "label": "Version",
2791
- "description": "Version of the element template",
2792
- "value": "3",
2793
- "group": "connector",
2794
- "binding": {
2795
- "key": "elementTemplateVersion",
2796
- "type": "zeebe:taskHeader"
2797
- },
2798
- "type": "Hidden"
2799
- },
2800
- {
2801
- "id": "id",
2802
- "label": "ID",
2803
- "description": "ID of the element template",
2804
- "value": "io.camunda.connectors.email.v1",
2805
- "group": "connector",
2806
- "binding": {
2807
- "key": "elementTemplateId",
2808
- "type": "zeebe:taskHeader"
2809
- },
2810
- "type": "Hidden"
2811
- },
2812
2808
  {
2813
2809
  "id": "resultVariable",
2814
2810
  "label": "Result variable",
@@ -2862,6 +2858,7 @@
2862
2858
  "label": "Retry backoff",
2863
2859
  "description": "ISO-8601 duration to wait between retries",
2864
2860
  "value": "PT0S",
2861
+ "feel": "optional",
2865
2862
  "group": "retries",
2866
2863
  "binding": {
2867
2864
  "key": "retryBackoff",
@@ -2872,6 +2869,9 @@
2872
2869
  ],
2873
2870
  "icon": {
2874
2871
  "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
2872
+ },
2873
+ "engines": {
2874
+ "camunda": "^8.6"
2875
2875
  }
2876
2876
  },
2877
2877
  {
@@ -4375,16 +4375,22 @@
4375
4375
  "name": "Email Connector",
4376
4376
  "id": "io.camunda.connectors.email.v1",
4377
4377
  "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
- },
4378
+ "keywords": [
4379
+ "send emails",
4380
+ "list emails",
4381
+ "search emails",
4382
+ "delete emails",
4383
+ "read emails",
4384
+ "move emails",
4385
+ "send email",
4386
+ "delete email",
4387
+ "read email",
4388
+ "move email",
4389
+ "IMAP",
4390
+ "SMTP",
4391
+ "POP3",
4392
+ "inbox"
4393
+ ],
4388
4394
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
4389
4395
  "version": 4,
4390
4396
  "category": {
@@ -5836,7 +5842,7 @@
5836
5842
  {
5837
5843
  "id": "resultVariable",
5838
5844
  "label": "Result variable",
5839
- "description": "Name of variable to store the response in",
5845
+ "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>.",
5840
5846
  "group": "output",
5841
5847
  "binding": {
5842
5848
  "key": "resultVariable",
@@ -5847,7 +5853,1874 @@
5847
5853
  {
5848
5854
  "id": "resultExpression",
5849
5855
  "label": "Result expression",
5850
- "description": "Expression to map the response into process variables",
5856
+ "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>.",
5857
+ "feel": "required",
5858
+ "group": "output",
5859
+ "binding": {
5860
+ "key": "resultExpression",
5861
+ "type": "zeebe:taskHeader"
5862
+ },
5863
+ "type": "Text"
5864
+ },
5865
+ {
5866
+ "id": "errorExpression",
5867
+ "label": "Error expression",
5868
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
5869
+ "feel": "required",
5870
+ "group": "error",
5871
+ "binding": {
5872
+ "key": "errorExpression",
5873
+ "type": "zeebe:taskHeader"
5874
+ },
5875
+ "type": "Text"
5876
+ },
5877
+ {
5878
+ "id": "retryCount",
5879
+ "label": "Retries",
5880
+ "description": "Number of retries",
5881
+ "value": "3",
5882
+ "feel": "optional",
5883
+ "group": "retries",
5884
+ "binding": {
5885
+ "property": "retries",
5886
+ "type": "zeebe:taskDefinition"
5887
+ },
5888
+ "type": "String"
5889
+ },
5890
+ {
5891
+ "id": "retryBackoff",
5892
+ "label": "Retry backoff",
5893
+ "description": "ISO-8601 duration to wait between retries",
5894
+ "value": "PT0S",
5895
+ "group": "retries",
5896
+ "binding": {
5897
+ "key": "retryBackoff",
5898
+ "type": "zeebe:taskHeader"
5899
+ },
5900
+ "type": "String"
5901
+ }
5902
+ ],
5903
+ "icon": {
5904
+ "contents": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzkwXzI0MjApIj4KPHBhdGggZD0iTTguMzM4MzUgOS45NTM2NUwxMC4zODk0IDEyLjAxMDRMOC4zMzI2MiAxNC4wNjcyTDkuMTQ2MTYgMTQuODc1TDEyLjAxMDcgMTIuMDEwNEw5LjE0NjE2IDkuMTQ1ODNMOC4zMzgzNSA5Ljk1MzY1WiIgZmlsbD0iYmxhY2siLz4KPHBhdGggZD0iTTEyLjM0ODggOS45NTM2NUwxNC4zOTk4IDEyLjAxMDRMMTIuMzQzIDE0LjA2NzJMMTMuMTU2NiAxNC44NzVMMTYuMDIxMiAxMi4wMTA0TDEzLjE1NjYgOS4xNDU4M0wxMi4zNDg4IDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNMy45NzIgMTEuNDM3NUgxLjEyNTMzVjIuNzkyMTlMNy42NzM3NiA3LjMyMzk2QzcuNzY5NjcgNy4zOTA0OSA3Ljg4MzYgNy40MjYxNCA4LjAwMDMyIDcuNDI2MTRDOC4xMTcwNSA3LjQyNjE0IDguMjMwOTggNy4zOTA0OSA4LjMyNjg5IDcuMzIzOTZMMTQuODc1MyAyLjc5MjE5VjhIMTYuMDIxMlYyLjI3MDgzQzE2LjAyMTIgMS45NjY5NCAxNS45MDA0IDEuNjc1NDkgMTUuNjg1NiAxLjQ2MDYxQzE1LjQ3MDcgMS4yNDU3MiAxNS4xNzkyIDEuMTI1IDE0Ljg3NTMgMS4xMjVIMS4xMjUzM0MwLjgyMTQzMiAxLjEyNSAwLjUyOTk4NCAxLjI0NTcyIDAuMzE1MDk5IDEuNDYwNjFDMC4xMDAyMTQgMS42NzU0OSAtMC4wMjA1MDc4IDEuOTY2OTQgLTAuMDIwNTA3OCAyLjI3MDgzVjExLjQzNzVDLTAuMDIwNTA3OCAxMS43NDE0IDAuMTAwMjE0IDEyLjAzMjggMC4zMTUwOTkgMTIuMjQ3N0MwLjUyOTk4NCAxMi40NjI2IDAuODIxNDMyIDEyLjU4MzMgMS4xMjUzMyAxMi41ODMzSDMuOTcyVjExLjQzNzVaTTEzLjYxNDkgMi4yNzA4M0w4LjAwMDMyIDYuMTU1MjFMMi4zODU3NCAyLjI3MDgzSDEzLjYxNDlaIiBmaWxsPSIjRkM1RDBEIi8+CjxwYXRoIGQ9Ik00LjI4MjEgOS45NTM2NUw2LjMzMzE0IDEyLjAxMDRMNC4yNzYzNyAxNC4wNjcyTDUuMDg5OTEgMTQuODc1TDcuOTU0NDkgMTIuMDEwNEw1LjA4OTkxIDkuMTQ1ODNMNC4yODIxIDkuOTUzNjVaIiBmaWxsPSJibGFjayIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzkwXzI0MjAiPgo8cmVjdCB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg=="
5905
+ }
5906
+ },
5907
+ {
5908
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
5909
+ "name": "Email Connector",
5910
+ "id": "io.camunda.connectors.email.v1",
5911
+ "description": "Execute email requests",
5912
+ "keywords": [
5913
+ "send emails",
5914
+ "list emails",
5915
+ "search emails",
5916
+ "delete emails",
5917
+ "read emails",
5918
+ "move emails",
5919
+ "send email",
5920
+ "delete email",
5921
+ "read email",
5922
+ "move email",
5923
+ "IMAP",
5924
+ "SMTP",
5925
+ "POP3",
5926
+ "inbox"
5927
+ ],
5928
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/email/",
5929
+ "version": 5,
5930
+ "category": {
5931
+ "id": "connectors",
5932
+ "name": "Connectors"
5933
+ },
5934
+ "appliesTo": ["bpmn:Task"],
5935
+ "elementType": {
5936
+ "value": "bpmn:ServiceTask"
5937
+ },
5938
+ "engines": {
5939
+ "camunda": "^8.10"
5940
+ },
5941
+ "groups": [
5942
+ {
5943
+ "id": "authentication",
5944
+ "label": "Authentication"
5945
+ },
5946
+ {
5947
+ "id": "protocol",
5948
+ "label": "Protocol"
5949
+ },
5950
+ {
5951
+ "id": "smtpAction",
5952
+ "label": "SMTP Action"
5953
+ },
5954
+ {
5955
+ "id": "pop3Action",
5956
+ "label": "POP3 Action"
5957
+ },
5958
+ {
5959
+ "id": "imapAction",
5960
+ "label": "IMAP Action"
5961
+ },
5962
+ {
5963
+ "id": "sendEmailSmtp",
5964
+ "label": "Send Email"
5965
+ },
5966
+ {
5967
+ "id": "listEmailsPop3",
5968
+ "label": "List Emails"
5969
+ },
5970
+ {
5971
+ "id": "searchEmailsPop3",
5972
+ "label": "Search Emails"
5973
+ },
5974
+ {
5975
+ "id": "deleteEmailPop3",
5976
+ "label": "Delete Email"
5977
+ },
5978
+ {
5979
+ "id": "readEmailPop3",
5980
+ "label": "Read Email"
5981
+ },
5982
+ {
5983
+ "id": "listEmailsImap",
5984
+ "label": "List Email"
5985
+ },
5986
+ {
5987
+ "id": "searchEmailsImap",
5988
+ "label": "Search Emails"
5989
+ },
5990
+ {
5991
+ "id": "readEmailImap",
5992
+ "label": "Read Email"
5993
+ },
5994
+ {
5995
+ "id": "deleteEmailImap",
5996
+ "label": "Read Email"
5997
+ },
5998
+ {
5999
+ "id": "moveEmailImap",
6000
+ "label": "Move Emails"
6001
+ },
6002
+ {
6003
+ "id": "connector",
6004
+ "label": "Connector"
6005
+ },
6006
+ {
6007
+ "id": "output",
6008
+ "label": "Output mapping"
6009
+ },
6010
+ {
6011
+ "id": "error",
6012
+ "label": "Error handling"
6013
+ },
6014
+ {
6015
+ "id": "retries",
6016
+ "label": "Retries"
6017
+ }
6018
+ ],
6019
+ "properties": [
6020
+ {
6021
+ "value": "io.camunda:email:1",
6022
+ "binding": {
6023
+ "property": "type",
6024
+ "type": "zeebe:taskDefinition"
6025
+ },
6026
+ "type": "Hidden"
6027
+ },
6028
+ {
6029
+ "id": "authentication.type",
6030
+ "label": "Authentication",
6031
+ "description": "Specify the Email authentication strategy. None is only supported for SMTP.",
6032
+ "value": "simple",
6033
+ "group": "authentication",
6034
+ "binding": {
6035
+ "name": "authentication.type",
6036
+ "type": "zeebe:input"
6037
+ },
6038
+ "type": "Dropdown",
6039
+ "choices": [
6040
+ {
6041
+ "name": "Simple",
6042
+ "value": "simple"
6043
+ },
6044
+ {
6045
+ "name": "None",
6046
+ "value": "noAuth"
6047
+ }
6048
+ ]
6049
+ },
6050
+ {
6051
+ "id": "authentication.simpleAuthenticationUsername",
6052
+ "label": "Username",
6053
+ "optional": false,
6054
+ "constraints": {
6055
+ "notEmpty": true
6056
+ },
6057
+ "feel": "optional",
6058
+ "group": "authentication",
6059
+ "binding": {
6060
+ "name": "authentication.username",
6061
+ "type": "zeebe:input"
6062
+ },
6063
+ "condition": {
6064
+ "property": "authentication.type",
6065
+ "equals": "simple",
6066
+ "type": "simple"
6067
+ },
6068
+ "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.",
6069
+ "type": "String"
6070
+ },
6071
+ {
6072
+ "id": "authentication.simpleAuthenticationPassword",
6073
+ "label": "Email password",
6074
+ "optional": false,
6075
+ "constraints": {
6076
+ "notEmpty": true
6077
+ },
6078
+ "feel": "optional",
6079
+ "group": "authentication",
6080
+ "binding": {
6081
+ "name": "authentication.password",
6082
+ "type": "zeebe:input"
6083
+ },
6084
+ "condition": {
6085
+ "property": "authentication.type",
6086
+ "equals": "simple",
6087
+ "type": "simple"
6088
+ },
6089
+ "tooltip": "Enter the password associated with your email account. Keep your password secure and do not share it with others.",
6090
+ "type": "String"
6091
+ },
6092
+ {
6093
+ "id": "protocol",
6094
+ "label": "Email Protocol",
6095
+ "value": "smtp",
6096
+ "group": "protocol",
6097
+ "binding": {
6098
+ "name": "protocol",
6099
+ "type": "zeebe:input"
6100
+ },
6101
+ "type": "Dropdown",
6102
+ "choices": [
6103
+ {
6104
+ "name": "IMAP",
6105
+ "value": "imap"
6106
+ },
6107
+ {
6108
+ "name": "POP3",
6109
+ "value": "pop3"
6110
+ },
6111
+ {
6112
+ "name": "SMTP",
6113
+ "value": "smtp"
6114
+ }
6115
+ ]
6116
+ },
6117
+ {
6118
+ "id": "data.imapHost",
6119
+ "label": "IMAP Host",
6120
+ "optional": false,
6121
+ "constraints": {
6122
+ "notEmpty": true
6123
+ },
6124
+ "feel": "optional",
6125
+ "group": "protocol",
6126
+ "binding": {
6127
+ "name": "data.imapConfig.imapHost",
6128
+ "type": "zeebe:input"
6129
+ },
6130
+ "condition": {
6131
+ "property": "protocol",
6132
+ "equals": "imap",
6133
+ "type": "simple"
6134
+ },
6135
+ "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)",
6136
+ "type": "String"
6137
+ },
6138
+ {
6139
+ "id": "data.imapPort",
6140
+ "label": "IMAP Port",
6141
+ "optional": false,
6142
+ "value": 993,
6143
+ "constraints": {
6144
+ "notEmpty": true
6145
+ },
6146
+ "feel": "optional",
6147
+ "group": "protocol",
6148
+ "binding": {
6149
+ "name": "data.imapConfig.imapPort",
6150
+ "type": "zeebe:input"
6151
+ },
6152
+ "condition": {
6153
+ "property": "protocol",
6154
+ "equals": "imap",
6155
+ "type": "simple"
6156
+ },
6157
+ "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.",
6158
+ "type": "Number"
6159
+ },
6160
+ {
6161
+ "id": "imapCryptographicProtocol",
6162
+ "label": "Encryption protocol",
6163
+ "optional": false,
6164
+ "value": "TLS",
6165
+ "constraints": {
6166
+ "notEmpty": true
6167
+ },
6168
+ "group": "protocol",
6169
+ "binding": {
6170
+ "name": "data.imapConfig.imapCryptographicProtocol",
6171
+ "type": "zeebe:input"
6172
+ },
6173
+ "condition": {
6174
+ "property": "protocol",
6175
+ "equals": "imap",
6176
+ "type": "simple"
6177
+ },
6178
+ "tooltip": "Select the encryption protocol for email security.",
6179
+ "type": "Dropdown",
6180
+ "choices": [
6181
+ {
6182
+ "name": "TLS",
6183
+ "value": "TLS"
6184
+ },
6185
+ {
6186
+ "name": "SSL",
6187
+ "value": "SSL"
6188
+ },
6189
+ {
6190
+ "name": "None",
6191
+ "value": "NONE"
6192
+ }
6193
+ ]
6194
+ },
6195
+ {
6196
+ "id": "data.pop3Host",
6197
+ "label": "POP3 Host",
6198
+ "optional": false,
6199
+ "constraints": {
6200
+ "notEmpty": true
6201
+ },
6202
+ "feel": "optional",
6203
+ "group": "protocol",
6204
+ "binding": {
6205
+ "name": "data.pop3Config.pop3Host",
6206
+ "type": "zeebe:input"
6207
+ },
6208
+ "condition": {
6209
+ "property": "protocol",
6210
+ "equals": "pop3",
6211
+ "type": "simple"
6212
+ },
6213
+ "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)",
6214
+ "type": "String"
6215
+ },
6216
+ {
6217
+ "id": "data.pop3Port",
6218
+ "label": "POP3 Port",
6219
+ "optional": false,
6220
+ "value": 995,
6221
+ "constraints": {
6222
+ "notEmpty": true
6223
+ },
6224
+ "feel": "optional",
6225
+ "group": "protocol",
6226
+ "binding": {
6227
+ "name": "data.pop3Config.pop3Port",
6228
+ "type": "zeebe:input"
6229
+ },
6230
+ "condition": {
6231
+ "property": "protocol",
6232
+ "equals": "pop3",
6233
+ "type": "simple"
6234
+ },
6235
+ "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.",
6236
+ "type": "Number"
6237
+ },
6238
+ {
6239
+ "id": "pop3CryptographicProtocol",
6240
+ "label": "Cryptographic protocol",
6241
+ "optional": false,
6242
+ "value": "TLS",
6243
+ "constraints": {
6244
+ "notEmpty": true
6245
+ },
6246
+ "group": "protocol",
6247
+ "binding": {
6248
+ "name": "data.pop3Config.pop3CryptographicProtocol",
6249
+ "type": "zeebe:input"
6250
+ },
6251
+ "condition": {
6252
+ "property": "protocol",
6253
+ "equals": "pop3",
6254
+ "type": "simple"
6255
+ },
6256
+ "tooltip": "Select the encryption protocol for email security.",
6257
+ "type": "Dropdown",
6258
+ "choices": [
6259
+ {
6260
+ "name": "TLS",
6261
+ "value": "TLS"
6262
+ },
6263
+ {
6264
+ "name": "SSL",
6265
+ "value": "SSL"
6266
+ },
6267
+ {
6268
+ "name": "None",
6269
+ "value": "NONE"
6270
+ }
6271
+ ]
6272
+ },
6273
+ {
6274
+ "id": "data.smtpHost",
6275
+ "label": "SMTP Host",
6276
+ "optional": false,
6277
+ "constraints": {
6278
+ "notEmpty": true
6279
+ },
6280
+ "feel": "optional",
6281
+ "group": "protocol",
6282
+ "binding": {
6283
+ "name": "data.smtpConfig.smtpHost",
6284
+ "type": "zeebe:input"
6285
+ },
6286
+ "condition": {
6287
+ "property": "protocol",
6288
+ "equals": "smtp",
6289
+ "type": "simple"
6290
+ },
6291
+ "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)",
6292
+ "type": "String"
6293
+ },
6294
+ {
6295
+ "id": "data.smtpPort",
6296
+ "label": "SMTP Port",
6297
+ "optional": false,
6298
+ "value": 587,
6299
+ "constraints": {
6300
+ "notEmpty": true
6301
+ },
6302
+ "feel": "optional",
6303
+ "group": "protocol",
6304
+ "binding": {
6305
+ "name": "data.smtpConfig.smtpPort",
6306
+ "type": "zeebe:input"
6307
+ },
6308
+ "condition": {
6309
+ "property": "protocol",
6310
+ "equals": "smtp",
6311
+ "type": "simple"
6312
+ },
6313
+ "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.",
6314
+ "type": "Number"
6315
+ },
6316
+ {
6317
+ "id": "smtpCryptographicProtocol",
6318
+ "label": "Cryptographic protocol",
6319
+ "optional": false,
6320
+ "value": "TLS",
6321
+ "constraints": {
6322
+ "notEmpty": true
6323
+ },
6324
+ "group": "protocol",
6325
+ "binding": {
6326
+ "name": "data.smtpConfig.smtpCryptographicProtocol",
6327
+ "type": "zeebe:input"
6328
+ },
6329
+ "condition": {
6330
+ "property": "protocol",
6331
+ "equals": "smtp",
6332
+ "type": "simple"
6333
+ },
6334
+ "tooltip": "Select the encryption protocol for email security.",
6335
+ "type": "Dropdown",
6336
+ "choices": [
6337
+ {
6338
+ "name": "TLS",
6339
+ "value": "TLS"
6340
+ },
6341
+ {
6342
+ "name": "SSL",
6343
+ "value": "SSL"
6344
+ },
6345
+ {
6346
+ "name": "None",
6347
+ "value": "NONE"
6348
+ }
6349
+ ]
6350
+ },
6351
+ {
6352
+ "id": "data.smtpActionDiscriminator",
6353
+ "label": "SMTP action",
6354
+ "value": "sendEmailSmtp",
6355
+ "group": "smtpAction",
6356
+ "binding": {
6357
+ "name": "data.smtpActionDiscriminator",
6358
+ "type": "zeebe:input"
6359
+ },
6360
+ "condition": {
6361
+ "property": "protocol",
6362
+ "equals": "smtp",
6363
+ "type": "simple"
6364
+ },
6365
+ "type": "Dropdown",
6366
+ "choices": [
6367
+ {
6368
+ "name": "Send Email",
6369
+ "value": "sendEmailSmtp"
6370
+ }
6371
+ ]
6372
+ },
6373
+ {
6374
+ "id": "data.pop3ActionDiscriminator",
6375
+ "label": "POP3 action",
6376
+ "value": "listEmailsPop3",
6377
+ "group": "pop3Action",
6378
+ "binding": {
6379
+ "name": "data.pop3ActionDiscriminator",
6380
+ "type": "zeebe:input"
6381
+ },
6382
+ "condition": {
6383
+ "property": "protocol",
6384
+ "equals": "pop3",
6385
+ "type": "simple"
6386
+ },
6387
+ "type": "Dropdown",
6388
+ "choices": [
6389
+ {
6390
+ "name": "Delete Email",
6391
+ "value": "deleteEmailPop3"
6392
+ },
6393
+ {
6394
+ "name": "List Emails",
6395
+ "value": "listEmailsPop3"
6396
+ },
6397
+ {
6398
+ "name": "Read Email",
6399
+ "value": "readEmailPop3"
6400
+ },
6401
+ {
6402
+ "name": "Search emails",
6403
+ "value": "searchEmailsPop3"
6404
+ }
6405
+ ]
6406
+ },
6407
+ {
6408
+ "id": "data.imapActionDiscriminator",
6409
+ "label": "IMAP action",
6410
+ "value": "listEmailsImap",
6411
+ "group": "imapAction",
6412
+ "binding": {
6413
+ "name": "data.imapActionDiscriminator",
6414
+ "type": "zeebe:input"
6415
+ },
6416
+ "condition": {
6417
+ "property": "protocol",
6418
+ "equals": "imap",
6419
+ "type": "simple"
6420
+ },
6421
+ "type": "Dropdown",
6422
+ "choices": [
6423
+ {
6424
+ "name": "Delete an email",
6425
+ "value": "deleteEmailImap"
6426
+ },
6427
+ {
6428
+ "name": "List emails",
6429
+ "value": "listEmailsImap"
6430
+ },
6431
+ {
6432
+ "name": "Move email",
6433
+ "value": "moveEmailImap"
6434
+ },
6435
+ {
6436
+ "name": "Read an email",
6437
+ "value": "readEmailImap"
6438
+ },
6439
+ {
6440
+ "name": "Search emails",
6441
+ "value": "searchEmailsImap"
6442
+ }
6443
+ ]
6444
+ },
6445
+ {
6446
+ "id": "smtpFrom",
6447
+ "label": "From",
6448
+ "optional": false,
6449
+ "constraints": {
6450
+ "notEmpty": true
6451
+ },
6452
+ "feel": "optional",
6453
+ "group": "sendEmailSmtp",
6454
+ "binding": {
6455
+ "name": "data.smtpAction.from",
6456
+ "type": "zeebe:input"
6457
+ },
6458
+ "condition": {
6459
+ "allMatch": [
6460
+ {
6461
+ "property": "data.smtpActionDiscriminator",
6462
+ "equals": "sendEmailSmtp",
6463
+ "type": "simple"
6464
+ },
6465
+ {
6466
+ "property": "protocol",
6467
+ "equals": "smtp",
6468
+ "type": "simple"
6469
+ }
6470
+ ]
6471
+ },
6472
+ "tooltip": "Address the email will be sent from",
6473
+ "type": "String"
6474
+ },
6475
+ {
6476
+ "id": "smtpTo",
6477
+ "label": "To",
6478
+ "optional": false,
6479
+ "constraints": {
6480
+ "notEmpty": true
6481
+ },
6482
+ "feel": "optional",
6483
+ "group": "sendEmailSmtp",
6484
+ "binding": {
6485
+ "name": "data.smtpAction.to",
6486
+ "type": "zeebe:input"
6487
+ },
6488
+ "condition": {
6489
+ "allMatch": [
6490
+ {
6491
+ "property": "data.smtpActionDiscriminator",
6492
+ "equals": "sendEmailSmtp",
6493
+ "type": "simple"
6494
+ },
6495
+ {
6496
+ "property": "protocol",
6497
+ "equals": "smtp",
6498
+ "type": "simple"
6499
+ }
6500
+ ]
6501
+ },
6502
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
6503
+ "type": "String"
6504
+ },
6505
+ {
6506
+ "id": "smtpCc",
6507
+ "label": "Cc",
6508
+ "optional": true,
6509
+ "feel": "optional",
6510
+ "group": "sendEmailSmtp",
6511
+ "binding": {
6512
+ "name": "data.smtpAction.cc",
6513
+ "type": "zeebe:input"
6514
+ },
6515
+ "condition": {
6516
+ "allMatch": [
6517
+ {
6518
+ "property": "data.smtpActionDiscriminator",
6519
+ "equals": "sendEmailSmtp",
6520
+ "type": "simple"
6521
+ },
6522
+ {
6523
+ "property": "protocol",
6524
+ "equals": "smtp",
6525
+ "type": "simple"
6526
+ }
6527
+ ]
6528
+ },
6529
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
6530
+ "type": "String"
6531
+ },
6532
+ {
6533
+ "id": "smtpBcc",
6534
+ "label": "Bcc",
6535
+ "optional": true,
6536
+ "feel": "optional",
6537
+ "group": "sendEmailSmtp",
6538
+ "binding": {
6539
+ "name": "data.smtpAction.bcc",
6540
+ "type": "zeebe:input"
6541
+ },
6542
+ "condition": {
6543
+ "allMatch": [
6544
+ {
6545
+ "property": "data.smtpActionDiscriminator",
6546
+ "equals": "sendEmailSmtp",
6547
+ "type": "simple"
6548
+ },
6549
+ {
6550
+ "property": "protocol",
6551
+ "equals": "smtp",
6552
+ "type": "simple"
6553
+ }
6554
+ ]
6555
+ },
6556
+ "tooltip": "Comma-separated list of email, e.g., 'email1@domain.com,email2@domain.com' or '=[ \"email1@domain.com\", \"email2@domain.com\"]'",
6557
+ "type": "String"
6558
+ },
6559
+ {
6560
+ "id": "smtpHeaders",
6561
+ "label": "Headers",
6562
+ "optional": true,
6563
+ "feel": "required",
6564
+ "group": "sendEmailSmtp",
6565
+ "binding": {
6566
+ "name": "data.smtpAction.headers",
6567
+ "type": "zeebe:input"
6568
+ },
6569
+ "condition": {
6570
+ "allMatch": [
6571
+ {
6572
+ "property": "data.smtpActionDiscriminator",
6573
+ "equals": "sendEmailSmtp",
6574
+ "type": "simple"
6575
+ },
6576
+ {
6577
+ "property": "protocol",
6578
+ "equals": "smtp",
6579
+ "type": "simple"
6580
+ }
6581
+ ]
6582
+ },
6583
+ "tooltip": "Additional email headers",
6584
+ "type": "String"
6585
+ },
6586
+ {
6587
+ "id": "smtpSubject",
6588
+ "label": "Subject",
6589
+ "optional": false,
6590
+ "constraints": {
6591
+ "notEmpty": true
6592
+ },
6593
+ "feel": "optional",
6594
+ "group": "sendEmailSmtp",
6595
+ "binding": {
6596
+ "name": "data.smtpAction.subject",
6597
+ "type": "zeebe:input"
6598
+ },
6599
+ "condition": {
6600
+ "allMatch": [
6601
+ {
6602
+ "property": "data.smtpActionDiscriminator",
6603
+ "equals": "sendEmailSmtp",
6604
+ "type": "simple"
6605
+ },
6606
+ {
6607
+ "property": "protocol",
6608
+ "equals": "smtp",
6609
+ "type": "simple"
6610
+ }
6611
+ ]
6612
+ },
6613
+ "tooltip": "Email's subject",
6614
+ "type": "String"
6615
+ },
6616
+ {
6617
+ "id": "contentType",
6618
+ "label": "ContentType",
6619
+ "optional": false,
6620
+ "value": "PLAIN",
6621
+ "constraints": {
6622
+ "notEmpty": true
6623
+ },
6624
+ "group": "sendEmailSmtp",
6625
+ "binding": {
6626
+ "name": "data.smtpAction.contentType",
6627
+ "type": "zeebe:input"
6628
+ },
6629
+ "condition": {
6630
+ "allMatch": [
6631
+ {
6632
+ "property": "data.smtpActionDiscriminator",
6633
+ "equals": "sendEmailSmtp",
6634
+ "type": "simple"
6635
+ },
6636
+ {
6637
+ "property": "protocol",
6638
+ "equals": "smtp",
6639
+ "type": "simple"
6640
+ }
6641
+ ]
6642
+ },
6643
+ "tooltip": "Email's contentType",
6644
+ "type": "Dropdown",
6645
+ "choices": [
6646
+ {
6647
+ "name": "PLAIN",
6648
+ "value": "PLAIN"
6649
+ },
6650
+ {
6651
+ "name": "HTML",
6652
+ "value": "HTML"
6653
+ },
6654
+ {
6655
+ "name": "HTML & Plaintext",
6656
+ "value": "MULTIPART"
6657
+ }
6658
+ ]
6659
+ },
6660
+ {
6661
+ "id": "smtpBody",
6662
+ "label": "Email Text Content",
6663
+ "optional": false,
6664
+ "feel": "optional",
6665
+ "group": "sendEmailSmtp",
6666
+ "binding": {
6667
+ "name": "data.smtpAction.body",
6668
+ "type": "zeebe:input"
6669
+ },
6670
+ "condition": {
6671
+ "allMatch": [
6672
+ {
6673
+ "property": "contentType",
6674
+ "oneOf": ["PLAIN", "MULTIPART"],
6675
+ "type": "simple"
6676
+ },
6677
+ {
6678
+ "property": "data.smtpActionDiscriminator",
6679
+ "equals": "sendEmailSmtp",
6680
+ "type": "simple"
6681
+ },
6682
+ {
6683
+ "property": "protocol",
6684
+ "equals": "smtp",
6685
+ "type": "simple"
6686
+ }
6687
+ ]
6688
+ },
6689
+ "tooltip": "Email's content",
6690
+ "type": "Text"
6691
+ },
6692
+ {
6693
+ "id": "smtpHtmlBody",
6694
+ "label": "Email Html Content",
6695
+ "optional": false,
6696
+ "feel": "optional",
6697
+ "group": "sendEmailSmtp",
6698
+ "binding": {
6699
+ "name": "data.smtpAction.htmlBody",
6700
+ "type": "zeebe:input"
6701
+ },
6702
+ "condition": {
6703
+ "allMatch": [
6704
+ {
6705
+ "property": "contentType",
6706
+ "oneOf": ["HTML", "MULTIPART"],
6707
+ "type": "simple"
6708
+ },
6709
+ {
6710
+ "property": "data.smtpActionDiscriminator",
6711
+ "equals": "sendEmailSmtp",
6712
+ "type": "simple"
6713
+ },
6714
+ {
6715
+ "property": "protocol",
6716
+ "equals": "smtp",
6717
+ "type": "simple"
6718
+ }
6719
+ ]
6720
+ },
6721
+ "tooltip": "Email's Html content",
6722
+ "type": "Text"
6723
+ },
6724
+ {
6725
+ "id": "data_smtpAction_attachments_documentMode",
6726
+ "label": "Number of documents",
6727
+ "description": "Email's attachment. e.g., =[ document1, document2]",
6728
+ "value": "none",
6729
+ "group": "sendEmailSmtp",
6730
+ "binding": {
6731
+ "name": "data.smtpAction.data_smtpAction_attachments_documentMode",
6732
+ "type": "zeebe:input"
6733
+ },
6734
+ "condition": {
6735
+ "allMatch": [
6736
+ {
6737
+ "property": "data.smtpActionDiscriminator",
6738
+ "equals": "sendEmailSmtp",
6739
+ "type": "simple"
6740
+ },
6741
+ {
6742
+ "property": "protocol",
6743
+ "equals": "smtp",
6744
+ "type": "simple"
6745
+ }
6746
+ ]
6747
+ },
6748
+ "tooltip": "Email's attachments, should be set as a list ",
6749
+ "type": "Dropdown",
6750
+ "choices": [
6751
+ {
6752
+ "name": "None",
6753
+ "value": "none"
6754
+ },
6755
+ {
6756
+ "name": "Single document",
6757
+ "value": "single"
6758
+ },
6759
+ {
6760
+ "name": "Multiple documents",
6761
+ "value": "multiple"
6762
+ }
6763
+ ]
6764
+ },
6765
+ {
6766
+ "id": "data_smtpAction_attachments_single_documentSource",
6767
+ "label": "Document source",
6768
+ "value": "camunda",
6769
+ "group": "sendEmailSmtp",
6770
+ "binding": {
6771
+ "name": "data.smtpAction.data_smtpAction_attachments_single_documentSource",
6772
+ "type": "zeebe:input"
6773
+ },
6774
+ "condition": {
6775
+ "allMatch": [
6776
+ {
6777
+ "property": "data_smtpAction_attachments_documentMode",
6778
+ "equals": "single",
6779
+ "type": "simple"
6780
+ },
6781
+ {
6782
+ "property": "data.smtpActionDiscriminator",
6783
+ "equals": "sendEmailSmtp",
6784
+ "type": "simple"
6785
+ },
6786
+ {
6787
+ "property": "protocol",
6788
+ "equals": "smtp",
6789
+ "type": "simple"
6790
+ }
6791
+ ]
6792
+ },
6793
+ "type": "Dropdown",
6794
+ "choices": [
6795
+ {
6796
+ "name": "Camunda Document",
6797
+ "value": "camunda"
6798
+ },
6799
+ {
6800
+ "name": "Inline Content",
6801
+ "value": "inline"
6802
+ },
6803
+ {
6804
+ "name": "From URL",
6805
+ "value": "external"
6806
+ }
6807
+ ]
6808
+ },
6809
+ {
6810
+ "id": "data_smtpAction_attachments_single_camundaReference",
6811
+ "label": "Camunda document",
6812
+ "constraints": {
6813
+ "notEmpty": true
6814
+ },
6815
+ "feel": "required",
6816
+ "group": "sendEmailSmtp",
6817
+ "binding": {
6818
+ "name": "data.smtpAction.data_smtpAction_attachments_single_camundaReference",
6819
+ "type": "zeebe:input"
6820
+ },
6821
+ "condition": {
6822
+ "allMatch": [
6823
+ {
6824
+ "property": "data_smtpAction_attachments_documentMode",
6825
+ "equals": "single",
6826
+ "type": "simple"
6827
+ },
6828
+ {
6829
+ "property": "data_smtpAction_attachments_single_documentSource",
6830
+ "equals": "camunda",
6831
+ "type": "simple"
6832
+ },
6833
+ {
6834
+ "property": "data.smtpActionDiscriminator",
6835
+ "equals": "sendEmailSmtp",
6836
+ "type": "simple"
6837
+ },
6838
+ {
6839
+ "property": "protocol",
6840
+ "equals": "smtp",
6841
+ "type": "simple"
6842
+ }
6843
+ ]
6844
+ },
6845
+ "type": "String"
6846
+ },
6847
+ {
6848
+ "id": "data_smtpAction_attachments_single_inline_content",
6849
+ "label": "Content",
6850
+ "constraints": {
6851
+ "notEmpty": true
6852
+ },
6853
+ "feel": "optional",
6854
+ "group": "sendEmailSmtp",
6855
+ "binding": {
6856
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_content",
6857
+ "type": "zeebe:input"
6858
+ },
6859
+ "condition": {
6860
+ "allMatch": [
6861
+ {
6862
+ "property": "data_smtpAction_attachments_documentMode",
6863
+ "equals": "single",
6864
+ "type": "simple"
6865
+ },
6866
+ {
6867
+ "property": "data_smtpAction_attachments_single_documentSource",
6868
+ "equals": "inline",
6869
+ "type": "simple"
6870
+ },
6871
+ {
6872
+ "property": "data.smtpActionDiscriminator",
6873
+ "equals": "sendEmailSmtp",
6874
+ "type": "simple"
6875
+ },
6876
+ {
6877
+ "property": "protocol",
6878
+ "equals": "smtp",
6879
+ "type": "simple"
6880
+ }
6881
+ ]
6882
+ },
6883
+ "type": "String"
6884
+ },
6885
+ {
6886
+ "id": "data_smtpAction_attachments_single_inline_fileName",
6887
+ "label": "File name",
6888
+ "feel": "optional",
6889
+ "group": "sendEmailSmtp",
6890
+ "binding": {
6891
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_fileName",
6892
+ "type": "zeebe:input"
6893
+ },
6894
+ "condition": {
6895
+ "allMatch": [
6896
+ {
6897
+ "property": "data_smtpAction_attachments_documentMode",
6898
+ "equals": "single",
6899
+ "type": "simple"
6900
+ },
6901
+ {
6902
+ "property": "data_smtpAction_attachments_single_documentSource",
6903
+ "equals": "inline",
6904
+ "type": "simple"
6905
+ },
6906
+ {
6907
+ "property": "data.smtpActionDiscriminator",
6908
+ "equals": "sendEmailSmtp",
6909
+ "type": "simple"
6910
+ },
6911
+ {
6912
+ "property": "protocol",
6913
+ "equals": "smtp",
6914
+ "type": "simple"
6915
+ }
6916
+ ]
6917
+ },
6918
+ "type": "String"
6919
+ },
6920
+ {
6921
+ "id": "data_smtpAction_attachments_single_inline_contentType",
6922
+ "label": "Content type",
6923
+ "feel": "optional",
6924
+ "group": "sendEmailSmtp",
6925
+ "binding": {
6926
+ "name": "data.smtpAction.data_smtpAction_attachments_single_inline_contentType",
6927
+ "type": "zeebe:input"
6928
+ },
6929
+ "condition": {
6930
+ "allMatch": [
6931
+ {
6932
+ "property": "data_smtpAction_attachments_documentMode",
6933
+ "equals": "single",
6934
+ "type": "simple"
6935
+ },
6936
+ {
6937
+ "property": "data_smtpAction_attachments_single_documentSource",
6938
+ "equals": "inline",
6939
+ "type": "simple"
6940
+ },
6941
+ {
6942
+ "property": "data.smtpActionDiscriminator",
6943
+ "equals": "sendEmailSmtp",
6944
+ "type": "simple"
6945
+ },
6946
+ {
6947
+ "property": "protocol",
6948
+ "equals": "smtp",
6949
+ "type": "simple"
6950
+ }
6951
+ ]
6952
+ },
6953
+ "type": "String"
6954
+ },
6955
+ {
6956
+ "id": "data_smtpAction_attachments_single_external_url",
6957
+ "label": "URL",
6958
+ "constraints": {
6959
+ "notEmpty": true
6960
+ },
6961
+ "feel": "optional",
6962
+ "group": "sendEmailSmtp",
6963
+ "binding": {
6964
+ "name": "data.smtpAction.data_smtpAction_attachments_single_external_url",
6965
+ "type": "zeebe:input"
6966
+ },
6967
+ "condition": {
6968
+ "allMatch": [
6969
+ {
6970
+ "property": "data_smtpAction_attachments_documentMode",
6971
+ "equals": "single",
6972
+ "type": "simple"
6973
+ },
6974
+ {
6975
+ "property": "data_smtpAction_attachments_single_documentSource",
6976
+ "equals": "external",
6977
+ "type": "simple"
6978
+ },
6979
+ {
6980
+ "property": "data.smtpActionDiscriminator",
6981
+ "equals": "sendEmailSmtp",
6982
+ "type": "simple"
6983
+ },
6984
+ {
6985
+ "property": "protocol",
6986
+ "equals": "smtp",
6987
+ "type": "simple"
6988
+ }
6989
+ ]
6990
+ },
6991
+ "type": "String"
6992
+ },
6993
+ {
6994
+ "id": "data_smtpAction_attachments_single_external_fileName",
6995
+ "label": "File name",
6996
+ "feel": "optional",
6997
+ "group": "sendEmailSmtp",
6998
+ "binding": {
6999
+ "name": "data.smtpAction.data_smtpAction_attachments_single_external_fileName",
7000
+ "type": "zeebe:input"
7001
+ },
7002
+ "condition": {
7003
+ "allMatch": [
7004
+ {
7005
+ "property": "data_smtpAction_attachments_documentMode",
7006
+ "equals": "single",
7007
+ "type": "simple"
7008
+ },
7009
+ {
7010
+ "property": "data_smtpAction_attachments_single_documentSource",
7011
+ "equals": "external",
7012
+ "type": "simple"
7013
+ },
7014
+ {
7015
+ "property": "data.smtpActionDiscriminator",
7016
+ "equals": "sendEmailSmtp",
7017
+ "type": "simple"
7018
+ },
7019
+ {
7020
+ "property": "protocol",
7021
+ "equals": "smtp",
7022
+ "type": "simple"
7023
+ }
7024
+ ]
7025
+ },
7026
+ "type": "String"
7027
+ },
7028
+ {
7029
+ "id": "data_smtpAction_attachments_multiple_expression",
7030
+ "label": "Documents",
7031
+ "constraints": {
7032
+ "notEmpty": true
7033
+ },
7034
+ "feel": "required",
7035
+ "group": "sendEmailSmtp",
7036
+ "binding": {
7037
+ "name": "data.smtpAction.data_smtpAction_attachments_multiple_expression",
7038
+ "type": "zeebe:input"
7039
+ },
7040
+ "condition": {
7041
+ "allMatch": [
7042
+ {
7043
+ "property": "data_smtpAction_attachments_documentMode",
7044
+ "equals": "multiple",
7045
+ "type": "simple"
7046
+ },
7047
+ {
7048
+ "property": "data.smtpActionDiscriminator",
7049
+ "equals": "sendEmailSmtp",
7050
+ "type": "simple"
7051
+ },
7052
+ {
7053
+ "property": "protocol",
7054
+ "equals": "smtp",
7055
+ "type": "simple"
7056
+ }
7057
+ ]
7058
+ },
7059
+ "type": "String"
7060
+ },
7061
+ {
7062
+ "id": "attachmentsSmtp",
7063
+ "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",
7064
+ "group": "sendEmailSmtp",
7065
+ "binding": {
7066
+ "name": "data.smtpAction.attachments",
7067
+ "type": "zeebe:input"
7068
+ },
7069
+ "condition": {
7070
+ "allMatch": [
7071
+ {
7072
+ "property": "data.smtpActionDiscriminator",
7073
+ "equals": "sendEmailSmtp",
7074
+ "type": "simple"
7075
+ },
7076
+ {
7077
+ "property": "protocol",
7078
+ "equals": "smtp",
7079
+ "type": "simple"
7080
+ }
7081
+ ]
7082
+ },
7083
+ "type": "Hidden"
7084
+ },
7085
+ {
7086
+ "id": "pop3maxToBeRead",
7087
+ "label": "Maximum number of emails to be read",
7088
+ "optional": false,
7089
+ "value": 100,
7090
+ "constraints": {
7091
+ "notEmpty": true
7092
+ },
7093
+ "feel": "static",
7094
+ "group": "listEmailsPop3",
7095
+ "binding": {
7096
+ "name": "data.pop3Action.maxToBeRead",
7097
+ "type": "zeebe:input"
7098
+ },
7099
+ "condition": {
7100
+ "allMatch": [
7101
+ {
7102
+ "property": "data.pop3ActionDiscriminator",
7103
+ "equals": "listEmailsPop3",
7104
+ "type": "simple"
7105
+ },
7106
+ {
7107
+ "property": "protocol",
7108
+ "equals": "pop3",
7109
+ "type": "simple"
7110
+ }
7111
+ ]
7112
+ },
7113
+ "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.",
7114
+ "type": "Number"
7115
+ },
7116
+ {
7117
+ "id": "pop3SortField",
7118
+ "label": "Sort emails by",
7119
+ "optional": false,
7120
+ "value": "SENT_DATE",
7121
+ "constraints": {
7122
+ "notEmpty": true
7123
+ },
7124
+ "group": "listEmailsPop3",
7125
+ "binding": {
7126
+ "name": "data.pop3Action.sortField",
7127
+ "type": "zeebe:input"
7128
+ },
7129
+ "condition": {
7130
+ "allMatch": [
7131
+ {
7132
+ "property": "data.pop3ActionDiscriminator",
7133
+ "equals": "listEmailsPop3",
7134
+ "type": "simple"
7135
+ },
7136
+ {
7137
+ "property": "protocol",
7138
+ "equals": "pop3",
7139
+ "type": "simple"
7140
+ }
7141
+ ]
7142
+ },
7143
+ "tooltip": "Choose the criterion by which the listed emails should be sorted. The default sorting is by 'Sent Date'.",
7144
+ "type": "Dropdown",
7145
+ "choices": [
7146
+ {
7147
+ "name": "Sent Date",
7148
+ "value": "SENT_DATE"
7149
+ },
7150
+ {
7151
+ "name": "Size",
7152
+ "value": "SIZE"
7153
+ }
7154
+ ]
7155
+ },
7156
+ {
7157
+ "id": "pop3SortOrder",
7158
+ "label": "Sort order",
7159
+ "optional": false,
7160
+ "value": "ASC",
7161
+ "constraints": {
7162
+ "notEmpty": true
7163
+ },
7164
+ "group": "listEmailsPop3",
7165
+ "binding": {
7166
+ "name": "data.pop3Action.sortOrder",
7167
+ "type": "zeebe:input"
7168
+ },
7169
+ "condition": {
7170
+ "allMatch": [
7171
+ {
7172
+ "property": "data.pop3ActionDiscriminator",
7173
+ "equals": "listEmailsPop3",
7174
+ "type": "simple"
7175
+ },
7176
+ {
7177
+ "property": "protocol",
7178
+ "equals": "pop3",
7179
+ "type": "simple"
7180
+ }
7181
+ ]
7182
+ },
7183
+ "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'.",
7184
+ "type": "Dropdown",
7185
+ "choices": [
7186
+ {
7187
+ "name": "ASC",
7188
+ "value": "ASC"
7189
+ },
7190
+ {
7191
+ "name": "DESC",
7192
+ "value": "DESC"
7193
+ }
7194
+ ]
7195
+ },
7196
+ {
7197
+ "id": "searchStringEmailPop3",
7198
+ "label": "Search criteria",
7199
+ "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/).",
7200
+ "optional": true,
7201
+ "feel": "required",
7202
+ "group": "searchEmailsPop3",
7203
+ "binding": {
7204
+ "name": "data.pop3Action.criteria",
7205
+ "type": "zeebe:input"
7206
+ },
7207
+ "condition": {
7208
+ "allMatch": [
7209
+ {
7210
+ "property": "data.pop3ActionDiscriminator",
7211
+ "equals": "searchEmailsPop3",
7212
+ "type": "simple"
7213
+ },
7214
+ {
7215
+ "property": "protocol",
7216
+ "equals": "pop3",
7217
+ "type": "simple"
7218
+ }
7219
+ ]
7220
+ },
7221
+ "tooltip": "Define the search criteria using supported keywords and syntax to filter emails.",
7222
+ "type": "Text"
7223
+ },
7224
+ {
7225
+ "id": "pop3MessageIdDelete",
7226
+ "label": "Message ID",
7227
+ "optional": false,
7228
+ "constraints": {
7229
+ "notEmpty": true
7230
+ },
7231
+ "feel": "optional",
7232
+ "group": "deleteEmailPop3",
7233
+ "binding": {
7234
+ "name": "data.pop3Action.messageId",
7235
+ "type": "zeebe:input"
7236
+ },
7237
+ "condition": {
7238
+ "allMatch": [
7239
+ {
7240
+ "property": "data.pop3ActionDiscriminator",
7241
+ "equals": "deleteEmailPop3",
7242
+ "type": "simple"
7243
+ },
7244
+ {
7245
+ "property": "protocol",
7246
+ "equals": "pop3",
7247
+ "type": "simple"
7248
+ }
7249
+ ]
7250
+ },
7251
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
7252
+ "type": "String"
7253
+ },
7254
+ {
7255
+ "id": "pop3MessageIdRead",
7256
+ "label": "Message ID",
7257
+ "optional": false,
7258
+ "constraints": {
7259
+ "notEmpty": true
7260
+ },
7261
+ "feel": "optional",
7262
+ "group": "readEmailPop3",
7263
+ "binding": {
7264
+ "name": "data.pop3Action.messageId",
7265
+ "type": "zeebe:input"
7266
+ },
7267
+ "condition": {
7268
+ "allMatch": [
7269
+ {
7270
+ "property": "data.pop3ActionDiscriminator",
7271
+ "equals": "readEmailPop3",
7272
+ "type": "simple"
7273
+ },
7274
+ {
7275
+ "property": "protocol",
7276
+ "equals": "pop3",
7277
+ "type": "simple"
7278
+ }
7279
+ ]
7280
+ },
7281
+ "tooltip": "The ID of the message, typically returned by a previous email task. Warning: reading an email using POP3 will delete it",
7282
+ "type": "String"
7283
+ },
7284
+ {
7285
+ "id": "imapMaxToBeRead",
7286
+ "label": "Maximum number of emails to be read",
7287
+ "optional": false,
7288
+ "value": 100,
7289
+ "constraints": {
7290
+ "notEmpty": true
7291
+ },
7292
+ "feel": "static",
7293
+ "group": "listEmailsImap",
7294
+ "binding": {
7295
+ "name": "data.imapAction.maxToBeRead",
7296
+ "type": "zeebe:input"
7297
+ },
7298
+ "condition": {
7299
+ "allMatch": [
7300
+ {
7301
+ "property": "data.imapActionDiscriminator",
7302
+ "equals": "listEmailsImap",
7303
+ "type": "simple"
7304
+ },
7305
+ {
7306
+ "property": "protocol",
7307
+ "equals": "imap",
7308
+ "type": "simple"
7309
+ }
7310
+ ]
7311
+ },
7312
+ "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.",
7313
+ "type": "Number"
7314
+ },
7315
+ {
7316
+ "id": "imapListEmailsFolder",
7317
+ "label": "Folder",
7318
+ "optional": true,
7319
+ "feel": "optional",
7320
+ "group": "listEmailsImap",
7321
+ "binding": {
7322
+ "name": "data.imapAction.listEmailsFolder",
7323
+ "type": "zeebe:input"
7324
+ },
7325
+ "condition": {
7326
+ "allMatch": [
7327
+ {
7328
+ "property": "data.imapActionDiscriminator",
7329
+ "equals": "listEmailsImap",
7330
+ "type": "simple"
7331
+ },
7332
+ {
7333
+ "property": "protocol",
7334
+ "equals": "imap",
7335
+ "type": "simple"
7336
+ }
7337
+ ]
7338
+ },
7339
+ "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.",
7340
+ "type": "String"
7341
+ },
7342
+ {
7343
+ "id": "imapSortField",
7344
+ "label": "Sort emails by",
7345
+ "optional": false,
7346
+ "value": "RECEIVED_DATE",
7347
+ "constraints": {
7348
+ "notEmpty": true
7349
+ },
7350
+ "group": "listEmailsImap",
7351
+ "binding": {
7352
+ "name": "data.imapAction.sortField",
7353
+ "type": "zeebe:input"
7354
+ },
7355
+ "condition": {
7356
+ "allMatch": [
7357
+ {
7358
+ "property": "data.imapActionDiscriminator",
7359
+ "equals": "listEmailsImap",
7360
+ "type": "simple"
7361
+ },
7362
+ {
7363
+ "property": "protocol",
7364
+ "equals": "imap",
7365
+ "type": "simple"
7366
+ }
7367
+ ]
7368
+ },
7369
+ "tooltip": "Choose the criterion by which the listed emails should be sorted. The default sorting is by 'Received Date'.",
7370
+ "type": "Dropdown",
7371
+ "choices": [
7372
+ {
7373
+ "name": "Received Date",
7374
+ "value": "RECEIVED_DATE"
7375
+ },
7376
+ {
7377
+ "name": "Sent Date",
7378
+ "value": "SENT_DATE"
7379
+ },
7380
+ {
7381
+ "name": "Size",
7382
+ "value": "SIZE"
7383
+ }
7384
+ ]
7385
+ },
7386
+ {
7387
+ "id": "imapSortOrder",
7388
+ "label": "Sort order",
7389
+ "optional": false,
7390
+ "value": "ASC",
7391
+ "constraints": {
7392
+ "notEmpty": true
7393
+ },
7394
+ "group": "listEmailsImap",
7395
+ "binding": {
7396
+ "name": "data.imapAction.sortOrder",
7397
+ "type": "zeebe:input"
7398
+ },
7399
+ "condition": {
7400
+ "allMatch": [
7401
+ {
7402
+ "property": "data.imapActionDiscriminator",
7403
+ "equals": "listEmailsImap",
7404
+ "type": "simple"
7405
+ },
7406
+ {
7407
+ "property": "protocol",
7408
+ "equals": "imap",
7409
+ "type": "simple"
7410
+ }
7411
+ ]
7412
+ },
7413
+ "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'.",
7414
+ "type": "Dropdown",
7415
+ "choices": [
7416
+ {
7417
+ "name": "ASC",
7418
+ "value": "ASC"
7419
+ },
7420
+ {
7421
+ "name": "DESC",
7422
+ "value": "DESC"
7423
+ }
7424
+ ]
7425
+ },
7426
+ {
7427
+ "id": "searchStringEmailImap",
7428
+ "label": "Search criteria",
7429
+ "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/).",
7430
+ "optional": true,
7431
+ "feel": "required",
7432
+ "group": "searchEmailsImap",
7433
+ "binding": {
7434
+ "name": "data.imapAction.criteria",
7435
+ "type": "zeebe:input"
7436
+ },
7437
+ "condition": {
7438
+ "allMatch": [
7439
+ {
7440
+ "property": "data.imapActionDiscriminator",
7441
+ "equals": "searchEmailsImap",
7442
+ "type": "simple"
7443
+ },
7444
+ {
7445
+ "property": "protocol",
7446
+ "equals": "imap",
7447
+ "type": "simple"
7448
+ }
7449
+ ]
7450
+ },
7451
+ "tooltip": "Define the search criteria using supported keywords and syntax to filter emails.",
7452
+ "type": "Text"
7453
+ },
7454
+ {
7455
+ "id": "searchEmailFolder",
7456
+ "label": "Folder",
7457
+ "optional": true,
7458
+ "feel": "optional",
7459
+ "group": "searchEmailsImap",
7460
+ "binding": {
7461
+ "name": "data.imapAction.searchEmailFolder",
7462
+ "type": "zeebe:input"
7463
+ },
7464
+ "condition": {
7465
+ "allMatch": [
7466
+ {
7467
+ "property": "data.imapActionDiscriminator",
7468
+ "equals": "searchEmailsImap",
7469
+ "type": "simple"
7470
+ },
7471
+ {
7472
+ "property": "protocol",
7473
+ "equals": "imap",
7474
+ "type": "simple"
7475
+ }
7476
+ ]
7477
+ },
7478
+ "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').",
7479
+ "type": "String"
7480
+ },
7481
+ {
7482
+ "id": "imapMessageIdRead",
7483
+ "label": "Message ID",
7484
+ "optional": false,
7485
+ "constraints": {
7486
+ "notEmpty": true
7487
+ },
7488
+ "feel": "optional",
7489
+ "group": "readEmailImap",
7490
+ "binding": {
7491
+ "name": "data.imapAction.messageId",
7492
+ "type": "zeebe:input"
7493
+ },
7494
+ "condition": {
7495
+ "allMatch": [
7496
+ {
7497
+ "property": "data.imapActionDiscriminator",
7498
+ "equals": "readEmailImap",
7499
+ "type": "simple"
7500
+ },
7501
+ {
7502
+ "property": "protocol",
7503
+ "equals": "imap",
7504
+ "type": "simple"
7505
+ }
7506
+ ]
7507
+ },
7508
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
7509
+ "type": "String"
7510
+ },
7511
+ {
7512
+ "id": "readEmailFolder",
7513
+ "label": "Folder",
7514
+ "optional": true,
7515
+ "feel": "optional",
7516
+ "group": "readEmailImap",
7517
+ "binding": {
7518
+ "name": "data.imapAction.readEmailFolder",
7519
+ "type": "zeebe:input"
7520
+ },
7521
+ "condition": {
7522
+ "allMatch": [
7523
+ {
7524
+ "property": "data.imapActionDiscriminator",
7525
+ "equals": "readEmailImap",
7526
+ "type": "simple"
7527
+ },
7528
+ {
7529
+ "property": "protocol",
7530
+ "equals": "imap",
7531
+ "type": "simple"
7532
+ }
7533
+ ]
7534
+ },
7535
+ "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.",
7536
+ "type": "String"
7537
+ },
7538
+ {
7539
+ "id": "imapMessageIdDelete",
7540
+ "label": "Message ID",
7541
+ "optional": false,
7542
+ "constraints": {
7543
+ "notEmpty": true
7544
+ },
7545
+ "feel": "optional",
7546
+ "group": "deleteEmailImap",
7547
+ "binding": {
7548
+ "name": "data.imapAction.messageId",
7549
+ "type": "zeebe:input"
7550
+ },
7551
+ "condition": {
7552
+ "allMatch": [
7553
+ {
7554
+ "property": "data.imapActionDiscriminator",
7555
+ "equals": "deleteEmailImap",
7556
+ "type": "simple"
7557
+ },
7558
+ {
7559
+ "property": "protocol",
7560
+ "equals": "imap",
7561
+ "type": "simple"
7562
+ }
7563
+ ]
7564
+ },
7565
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
7566
+ "type": "String"
7567
+ },
7568
+ {
7569
+ "id": "deleteEmailFolder",
7570
+ "label": "Folder",
7571
+ "optional": true,
7572
+ "feel": "optional",
7573
+ "group": "deleteEmailImap",
7574
+ "binding": {
7575
+ "name": "data.imapAction.deleteEmailFolder",
7576
+ "type": "zeebe:input"
7577
+ },
7578
+ "condition": {
7579
+ "allMatch": [
7580
+ {
7581
+ "property": "data.imapActionDiscriminator",
7582
+ "equals": "deleteEmailImap",
7583
+ "type": "simple"
7584
+ },
7585
+ {
7586
+ "property": "protocol",
7587
+ "equals": "imap",
7588
+ "type": "simple"
7589
+ }
7590
+ ]
7591
+ },
7592
+ "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.",
7593
+ "type": "String"
7594
+ },
7595
+ {
7596
+ "id": "imapMessageIdMove",
7597
+ "label": "Message ID",
7598
+ "optional": false,
7599
+ "constraints": {
7600
+ "notEmpty": true
7601
+ },
7602
+ "feel": "optional",
7603
+ "group": "moveEmailImap",
7604
+ "binding": {
7605
+ "name": "data.imapAction.messageId",
7606
+ "type": "zeebe:input"
7607
+ },
7608
+ "condition": {
7609
+ "allMatch": [
7610
+ {
7611
+ "property": "data.imapActionDiscriminator",
7612
+ "equals": "moveEmailImap",
7613
+ "type": "simple"
7614
+ },
7615
+ {
7616
+ "property": "protocol",
7617
+ "equals": "imap",
7618
+ "type": "simple"
7619
+ }
7620
+ ]
7621
+ },
7622
+ "tooltip": "The ID of the message, typically returned by a previous email task.",
7623
+ "type": "String"
7624
+ },
7625
+ {
7626
+ "id": "data.fromFolder",
7627
+ "label": "Source folder",
7628
+ "optional": false,
7629
+ "constraints": {
7630
+ "notEmpty": true
7631
+ },
7632
+ "feel": "optional",
7633
+ "group": "moveEmailImap",
7634
+ "binding": {
7635
+ "name": "data.imapAction.fromFolder",
7636
+ "type": "zeebe:input"
7637
+ },
7638
+ "condition": {
7639
+ "allMatch": [
7640
+ {
7641
+ "property": "data.imapActionDiscriminator",
7642
+ "equals": "moveEmailImap",
7643
+ "type": "simple"
7644
+ },
7645
+ {
7646
+ "property": "protocol",
7647
+ "equals": "imap",
7648
+ "type": "simple"
7649
+ }
7650
+ ]
7651
+ },
7652
+ "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.",
7653
+ "type": "String"
7654
+ },
7655
+ {
7656
+ "id": "data.toFolder",
7657
+ "label": "Target folder",
7658
+ "optional": false,
7659
+ "constraints": {
7660
+ "notEmpty": true
7661
+ },
7662
+ "feel": "optional",
7663
+ "group": "moveEmailImap",
7664
+ "binding": {
7665
+ "name": "data.imapAction.toFolder",
7666
+ "type": "zeebe:input"
7667
+ },
7668
+ "condition": {
7669
+ "allMatch": [
7670
+ {
7671
+ "property": "data.imapActionDiscriminator",
7672
+ "equals": "moveEmailImap",
7673
+ "type": "simple"
7674
+ },
7675
+ {
7676
+ "property": "protocol",
7677
+ "equals": "imap",
7678
+ "type": "simple"
7679
+ }
7680
+ ]
7681
+ },
7682
+ "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.",
7683
+ "type": "String"
7684
+ },
7685
+ {
7686
+ "id": "version",
7687
+ "label": "Version",
7688
+ "description": "Version of the element template",
7689
+ "value": "5",
7690
+ "group": "connector",
7691
+ "binding": {
7692
+ "key": "elementTemplateVersion",
7693
+ "type": "zeebe:taskHeader"
7694
+ },
7695
+ "type": "Hidden"
7696
+ },
7697
+ {
7698
+ "id": "id",
7699
+ "label": "ID",
7700
+ "description": "ID of the element template",
7701
+ "value": "io.camunda.connectors.email.v1",
7702
+ "group": "connector",
7703
+ "binding": {
7704
+ "key": "elementTemplateId",
7705
+ "type": "zeebe:taskHeader"
7706
+ },
7707
+ "type": "Hidden"
7708
+ },
7709
+ {
7710
+ "id": "resultVariable",
7711
+ "label": "Result variable",
7712
+ "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>.",
7713
+ "group": "output",
7714
+ "binding": {
7715
+ "key": "resultVariable",
7716
+ "type": "zeebe:taskHeader"
7717
+ },
7718
+ "type": "String"
7719
+ },
7720
+ {
7721
+ "id": "resultExpression",
7722
+ "label": "Result expression",
7723
+ "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>.",
5851
7724
  "feel": "required",
5852
7725
  "group": "output",
5853
7726
  "binding": {