E-mail to Database

TeamDesk may accept emails directly to a database. E-mail to Database functionality can be useful if you need to process e-mails data to create new or update existing records automatically.

Please do not create references to the "Mailbox" table, since "Mailbox" content will be cleaned up periodically.

Also, please note that the system imports new emails every 3-5 minutes, so there may be a short delay within this interval.

To enable E-mail to Database feature, click on the Setup > Database tab > Tools section > E-mail to Database link.

Email-Address.png

Fig. ‘E-mail to Database’

As a result, a unique E-mail Address will become associated with a database. It can be used in "To", "CC" or "BCC" email fields. You may also establish email forwarding to that address.

Security Token is just another level of security. If your email address was compromised by spam, you may change your token and get rid of it.

All inbound emails will be kept in the special "Mailbox" table that will be added to your database automatically.

Mailbox-table-for-Help.png

Fig. ‘Mailbox table’

Column

Uploaded data

Application Id

This column keeps database Id number.

Sent

Time and date, when an e-mail was sent.

Priority

E-mail priority.

Tags

You may use a sub address to pass some information to TeamDesk while hiding it from a user who receives a notification.
For example, if you include {appid}[.token]+tags@mail2db.teamdesk.net address in Bcc: fields or setup forwarding to that address system will place tags (sub address) value into "Tags" column of "Mailbox" table.

Subject

E-mail subject.

Body

E-mail body.

From,To,CC

These columns keep From, To and CC address values respectively.

Attachment

If an e-mail includes up to 4 attachments, they will be stored in the Attachment 1,2,3,4 columns.

Error

All errors that occur while e-mail processing are carefully logged in this column.

Please note that the system imports new emails every 3-5 minutes, so there may be a short delay within this interval.
Also, please do not create references to the "Mailbox" table, since "Mailbox" content will be cleaned up periodically.

Next: Integration API