Comment on page
This example Data Stream demonstrates how to use this Action Agent to fetch alert emails for pump readings from the IMAP mail server.
Drag the Email Download onto the canvas and rename the Agent. Link the input endpoint to the pump data, the output endpoint to the printer, and save the Data Stream.
Select the Agent and click Configure. In this case, keep the default Collection.
Set the host and port. In this case, keep the default protocol options.
Set the Username and Password.
Set Authentication. In this case, set Authentication to OAuth and enter values for Client ID, Client Secret, and Tenant ID.
Select an attribute for the message Id settings. in this case, select 'PumpId'
Apply the changes, save the Data Stream and publish it.
Let's look at the Live Data View. Observe the pump temperature data is printed, with the email file content appended.