Skip to content

Workflow api elements — part 3

Generated from brezel/api@ddd04f543e0fecc433a351dcaab24d39087b24be — do not edit by hand.

Interact with an HTTP API.

Input ports: default (any; Input).

Output ports: default (any; Output), error (any; Error), status (any; Status).

OptionTypeDefaultRequiredDescription
uritextnullnot declaredURI
paramsrecipes[]not declaredParameters to send with the request. Dont use key “multipart” in combination with json or body
methodtextnullnot declaredMethod
jsonrecipes[]not declaredJSON data to send with the request. Dont use in combination with params.multipart or body
bodyrecipes[]not declaredBody data to send with the request. Dont use in combination with params.multipart or json
requestrecipes[]not declaredRequest options. See Guzzle .
use_cookieboolfalsenot declaredUse Cookie
validate_cookiebooltruenot declaredValidate Cookie
fresh_cookieboolfalsenot declaredFresh Cookie
follow_redirectsbooltruenot declaredFollow Redirects
cookie_nametextnullnot declaredCookie Name
response_typeselectjsonnot declaredResponse Type Values: json, xml, text.

Add a message to an remote IMAP folder.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output).

OptionTypeDefaultRequiredDescription
foldertextnullnot declaredFolder
enveloperecipesfalsenot declaredEnvelope
bodytextfalsenot declaredBody
raw_messagerecipesfalsenot declaredRaw message
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection

Delete a message from an remote IMAP folder.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output).

OptionTypeDefaultRequiredDescription
message_idrecipesnullnot declaredMessage ID
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection

Get a message from a remote IMAP folder. This element is intended for on-demand loading of a single message, e.g. when a user opens an email in the UI and the stored entity is still missing body or attachment data. Important behavior: - Attachment fetching is explicit via the `fetch_attachments` option. - If a local entity module is configured, the element first tries to find the existing mail entity by the configured id field plus folder. - Attachments are only hydrated when the server exposes more attachments than the stored entity already knows. - When attachment hydration persists changes back to an existing entity, this element only updates the narrow set of fields it owns in this context (`body`, `attachments`, `seen`). The last point is important because callers often use richer application-level mail entities whose fields may be mapped differently from the raw IMAP payload (for example `in_reply_to` may be a relation field instead of a plain string). Therefore `imapGet` intentionally does not push the full raw IMAP message array back through the entity persistence layer.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output).

OptionTypeDefaultRequiredDescription
message_idrecipesnullnot declaredMessage ID
fetch_attachmentsbooltruenot declaredFetch attachments
storage_modulemodulefilesnot declaredStorage module
storage_pathrecipesnullnot declaredAttachment storage path
modulemodulefalsenot declaredModule
id_attributetextnullnot declaredID Attribute
mark_flaggedboolfalsenot declaredMark message as flagged
mark_answeredboolfalsenot declaredMark message as answered
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection

Get a list of folders from an remote IMAP account.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output).

OptionTypeDefaultRequiredDescription
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection

Query messages from an remote IMAP folder.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output).

OptionTypeDefaultRequiredDescription
folderstextnullnot declaredFolders
overviewboolfalsenot declaredFetch overview
queryrecipes[]not declaredQuery
limitnumbernullnot declaredLimit
pagenumbernullnot declaredPage
chunk_sizenumbernullnot declaredIf set, results are chunked and will run out of the ‘chunk’ port
fetch_bodyboolfalsenot declaredFetch body
fetch_attachmentsbooltruenot declaredFetch attachments
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection

No help text declared in the source catalog.

Input ports: default (any; Input).

Output ports: exception (any; Exception), default (any; Output), new (any; New).

OptionTypeDefaultRequiredDescription
folderstextnullnot declaredFolders
overviewboolfalsenot declaredFetch overview
modulemodulefalsenot declaredModule
maprecipesfalsenot declaredMap attributes
id_attributetextnullnot declaredID Attribute
fetch_attachmentsbooltruenot declaredFetch attachments
fetch_sincetextnullnot declaredCoarse fallback timestamp. If empty, use mailbox sync cursor or start from the oldest mail.
recentboolfalsenot declaredRecent
fetch_bodyboolfalsenot declaredFetch body
progress_date_fieldtextnullnot declaredProgress date field
update_entityboolfalsenot declaredUpdate Entities on fetch
mailboxrecipesnullnot declaredMailbox
connectionrecipes[]not declaredConnection