Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This section describes the Email Agent. This is a collection agent for batch workflow configurations. 

The Email Agent is can connect to an existing email server using either the IMAP or POP3 protocols and fetch from emails from them.

Image Added

Workflow with Email agent

Batch model

To make sure that every email gets handled according to the rules set in the configuration we treat each email as a batch. Meaning that if the mail folder where you read the emails from, contains 30 emails that you will process, it will be split into 30 batches.

To manage resources better the agent splits a large number of messages into batches internally. Instead of lazy loading each message during processing, which would mean more than one transaction to the email server per message, the agent fetches all content for the specified number of emails at a time and then processes them. 

Image Added

Pseudocode of batch model


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse

This section contains the following subsections: