Data sources


This page explains the individual features when accessing the email data source. Under the following link you will find a tutorial on how to generally configure external data sources and link them to Peakboard elements:

Getting started with external data sources using an XML data source as an example.

The email data source allows you to access an email box via IMAP as well as send emails via SMTP. Typically, you use it to send messages to or from a Peakboard box via a very simple way. Generally, there are two ways you can use the data source:

  • The content of the mailbox is simply represented as a tabular data source. Each row corresponds to an email.
  • Each incoming email triggers an event, into which Lua script code can be integrated.

Which strategy is better depends on the individual case and also depends on your programming skills.

To add the data source right click on [Data] or alternatively click on the […] button and then select [Add data source] and [Email] (1).

Add email data source

Give the data source a name (1) and fill it with the login information of the email account you want to use (2).

In the Connection section:

  • IMAP and Port is the network address and the port of the mail server to receive e-mails
  • SMTP and Port is the network address and the port of the mail server for sending e-mails
  • In the text field User name you enter the e-mail address, in the text field Password the corresponding password

In the Specify details area: Folder:

  • Folder is the subfolder of the mailbox to read, usually INBOX.
  • Total Message defines if the complete message should be downloaded or only the subject
  • Content type defines if the mail content should be delivered in unformatted text or formatted HTML

configure email data source

In case you want to respond to incoming mails via scripting, use the Message Handle Script routine.

We are learning from you!

Did you find this article helpful?

Be enlightened!

Do you need more support?

Peakboard Youtube icon Visit our YouTube channel

Our numerous videos for beginners and advanced users explain exactly how to design your dashboard.

Peakboard Templates icon Visit the Peakboard Templates

Download our templates for various use cases for free.

Peakboard icon Visit

Find out all about Peakboard and browse our different use cases and success stories.