Email Message Start Event Connector
Consume emails
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.simpleAuthenticationUsername | Username | string |
authentication.simpleAuthenticationPassword | Email password | secret |
data.imapHost | IMAP Host | FEEL expression |
data.imapPort | IMAP Port | FEEL expression |
imapCryptographicProtocol | Encryption protocol | string |
data.pollingConfig.unseenHandlingStrategy | Handling strategy | string |
unseenTargetFolder | Choose the target folder | string |
data.pollingConfig.allHandlingStrategy | Handling strategy | string |
allTargetFolder | Choose the target folder | string |
correlationKeyProcess | Correlation key (process) | FEEL expression |
correlationKeyPayload | Correlation key (payload) | FEEL expression |
deduplicationId | Deduplication ID | string |
Optional inputs
| Key | Label | Type |
|---|---|---|
authentication.type | Authentication | string |
data.folderToListen | Folder to listen | FEEL expression |
pollingWaitTime | Polling wait time | string |
data.pollingConfigDiscriminator | Polling configuration | string |
activationCondition | Activation condition | FEEL expression |
consumeUnmatchedEvents | Consume unmatched events | string |
correlationRequired | Subprocess correlation required | string |
messageTtl | Message TTL | FEEL expression |
messageIdExpression | Message ID expression | FEEL expression |
deduplicationModeManualFlag | Manual mode | string |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.inbound.EmailMessageStart.v1", {
"authentication.simpleAuthenticationUsername": "...",
"authentication.simpleAuthenticationPassword": "<your email password>",
"data.imapHost": "= ...",
"data.imapPort": "= 993",
"imapCryptographicProtocol": "TLS",
"data.pollingConfig.unseenHandlingStrategy": "READ",
"unseenTargetFolder": "...",
"data.pollingConfig.allHandlingStrategy": "DELETE",
"allTargetFolder": "...",
"correlationKeyProcess": "= ...",
"correlationKeyPayload": "= ...",
"deduplicationId": "...",
"authentication.type": "simple",
"data.folderToListen": "= ...",
})