Email Source

Email Source in Astera Centerprise enables users to retrieve data from emails and process the incoming email attachments.

Getting Email Source Object

In this section, we will cover how to get Email Source object onto the dataflow designer from the toolbox.

1. To get an Email Source from the Toolbox, go to Toolbox > Sources > Email Source. If you’re unable to see the toolbox, go to View > Toolbox or press Ctrl + Alt + X.

1_toolbox

2. Drag-and-drop the Email Source object onto the designer.

2_email_source_object

You can see some built-in fields and an Attachments node.

Configuring the Email Source Object

1. Double-click on the header of the Email source object to go to the Properties window.

3_properties

A configuration window for Email Source will open up. The Email Connection screen is where you will specify the connection details.

4_connection

2. If you have configured email settings before, you can access the configured settings from the drop-down list next to the Recent option*.* Otherwise, provide server settings for the mailing platform that you want to use. In this case, we are using Outlook server.

5_recent

3. The next screen will be the Email Source Properties screen. There are two important parts to this screen:

  • Download attachment options
  • Email reading options

6_properties

4. Check the Download Attachments box if you want to download the contents of your email. Specify the directory where you want to save the email attachments, in the space next to Directory.

7_attachments

5. The second part of the Email Source properties screen has the email reading options that you can work with to configure various settings.

  • Read Unread Only – Check the option if you only want to process the unread emails.
  • Mark Email as Read – Check the option if you want to mark the processed emails as read.
  • Folder – From the drop-down list next to Folder, you can select the specific folder to watch for example, Inbox, Outbox, Sent Items etc.

8_folder

  • Filters - You can apply various filters to only process specific emails in the folder.
    • From Filter: Filters out emails based on the sender’s email address
    • Subject Filter: Filters out emails based on the text of the subject line
    • Body Filter: Filters out emails based on the body text

9_filter_email

  • Authentication Mode – From the drop-down list, you can select the specific Authentication mode for your mailing platform. It is set to Auto by default

10_mode

Click OK.

6. Right-click on Email Source object’s header and select Preview Output from the context menu.

11_output

A Data Preview window will open up and will show you the preview of the extracted data.

12_preview

Notice that output only contains emails from the email address specified in the Filter section