IMAP Mark Read
IMAP Mark Read
Section titled “IMAP Mark Read”Type: imap-mark-read · Package: SMTP / IMAP Email Activities v1.0.0
Mark an email as read on the IMAP server. It is essential in processes that read the unread: after processing each email you mark it as read so that it is not taken again in the next run.
How it works
Section titled “How it works”Starting with mailId (the .Id of IMAP Read), mark that email as read in the indicated folder.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
host | text | Servidor IMAP. |
username | text | User. |
password | credencial | Password or App Password. Use = credential(...). |
mailId | text | Mail UID (of correo.Id). |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
port | number | Puerto IMAP. Por defecto 993. |
folder | text | Folder. By default INBOX. |
security | list | Cifrado: auto · none · ssl (def.) · starttls. |
Example
Section titled “Example”IMAP Read ... unreadOnly = true → output: correosFor Each items = = correos itemVariable = correo └─ activities: ... procesar ... IMAP Mark Read host = "imap.gmail.com" username = = credential("bot")["user"] password = = credential("bot").ToPlainText() mailId = = correo.Id