Email client
Email client (Mailbox)
Read and send your e-mail inside OBS, link messages to records, sort them with rules, and send e-mails from ready templates. OBS can also read a mailbox on its own and file the e-mails and invoices it finds.
MailboxRulesTemplatesAutomatic processingBefore you start
- Connect your mailbox first: Control Panel → Personal email (Optional) (see First Steps → Personal email). OBS reads your mail with IMAP and sends with SMTP.
- This is your mailbox. The e-mail address that OBS itself uses for notifications is a different setting (System email, administrators).
- Rules and Out of office work only if your mail server supports the ManageSieve protocol (RFC 5804). Ask your e-mail provider if you are not sure.
I want to…
Open the mailbox
- 1Click Menu at the top left.
- 2Under the search box, click the envelope icon Mailbox (number 6 on the picture).
Index mailbox
Index mailbox downloads your e-mails from the mail server and keeps a copy in OBS, so that searching is fast. OBS asks you to confirm before it starts.
Link an e-mail to a record
Keep an e-mail together with the record it is about: an invoice, a contact, a project.
- 1Click the menu of the e-mail (the three lines, number 5 above) and choose Relate.
- 2In the first field choose the module. The list shows the modules that keep e-mails, for example Incomes, Contacts, Projects.
- 3In the field ID start typing the number or the name of the record and pick it from the list.
- 4Click the green thumb up to link the e-mail. The red thumb down closes the window without a change.
Rules (Sieve)
Rules run on the mail server, so they sort your e-mail even when OBS is closed.
- 1In the mailbox, click Sieve rules (the gear under the folders).
- 2Under Create new rule choose a rule from the list.
- 3Fill in the fields of the rule (the folder is picked from your folders) and click Send. (The subject field may be labelled Subject of the contract.)
- 4The rule appears under Active rules. Delete removes it.
| Rule | What it does |
|---|---|
| Move Email From Address To Folder | E-mails from one address go to a folder. |
| Move Emails From Domain To Folder | E-mails from a whole domain (for example example.com) go to a folder. |
| Move Emails With Subject To Folder | E-mails with a text in the subject go to a folder. |
| Automatic Reply | Answers every e-mail automatically (the same as Out of office). |
| Relate Email To OBS Record | E-mails with OBS ERP: in the subject go to the folder ERP QUEUE, where OBS can file them (see File e-mails automatically). |
Out of office
- 1In the mailbox, click Out of office (the arrows under the folders). OBS first checks that your mail server supports rules (ManageSieve).
- 2Write the reply text.
- 3Tick the check box to switch the reply on. Untick it when you are back.
The reply goes out with the subject [Out of office reply] and the original subject. Messages marked as spam get no reply.
E-mail templates
A template is a ready e-mail: a subject and a text. Open the module Email templates (type it in Quick access).
~~full_name~~; the tab Modules is above.| Field | What it is |
|---|---|
| Name | The name of the template. Process steps and scheduled tasks call the template by this name. |
| Subject | The subject of the e-mail; it can also contain ~~column~~. (The form may label it Subject of the contract.) |
| Contents | The text of the e-mail. ~~column~~ puts in a value of the record, for example ~~full_name~~ in the template on the picture. |
| Chat message template | Optional: the text of a chat message for the same event. |
| Modules (tab) | The modules where the template is offered in the list of templates of a record. |
Where templates are used:
- from a record: Emails → .. Template .. (Working with a Record);
- when a record moves to a step of its process (Work Flow → E-mail on a step);
- in reminders before a date (Scheduled Task → Reminders).
File e-mails automatically (administrators)
OBS can read a mailbox on its own and attach the e-mails to records. Send or forward an e-mail with the module and the record in the subject, for example OBS ERP: invoices > 125, and the e-mail with its attachments lands on invoice 125.
- 1Open Users, the user whose mailbox OBS reads, tab Email accounts, and tick Process ERP folder on the account (see Email accounts of a user).
- 2In that mailbox, add the rule Relate Email To OBS Record (see Rules): e-mails with
OBS ERP:in the subject then go to the folder ERP QUEUE. Only this folder is processed. - 3In Main scheduler, have an active task with the function ProcessERPMailbox (Scheduled Task), and check it with Show next run.
| Subject | What happens |
|---|---|
OBS ERP: invoices > 125 | The e-mail and all its attachments are copied to record 125 of the module invoices. The word right before > is the module (its name in the database), the number after it is the record ID. |
OBS ERP: contacts > 1 | The same, for contact 1. |
After processing, OBS moves the e-mail to the folder ERP ARCHIVE.
mt940|TEXT, e-mails whose subject contains TEXT and that have an MT940 file attached become records in the module of MT940 bank statements.Read invoices from e-mail
With the function ProcessInvoicesMailbox, OBS reads PDF invoices from a mailbox and makes expenses from them.
- 1On the mail account (tab Email accounts of the user) tick Process incoming invoices.
- 2An active LLM prompt must exist for the module OCR expenses (
pdf_to_expense). - 3Add a task in Main scheduler with the function ProcessInvoicesMailbox. The parameter is the folder to read; empty means INBOX.
Every PDF attachment becomes a record in OCR expenses. The LLM reads it, OBS completes it with the expense settings of the supplier, and creates the expense with its items. Processed e-mails go to the folder PROCESSED; e-mails with an invoice that could not be read go to FAILED, and their records in OCR expenses stay for you to complete by hand.
Email accounts of a user
Administrators see all mail accounts of a user in Users → the user → tab Email accounts. The fields are the same as in Personal email, plus the switches for automatic processing.
| Field | What it is |
|---|---|
| Email, Email from | The address of the account, and the address shown as the sender. |
| Email username, SMTP password | The login to the mail server. |
| SMTP server, port, security, authentication type | For sending. |
| IMAP server, port | For reading. |
| Signature | Added to the e-mails you write. |
| Out-of-office reply, Out of office active | The text and the state of the automatic reply. |
| Process ERP folder | OBS files the e-mails in ERP QUEUE (ProcessERPMailbox). |
| Process incoming invoices | OBS reads PDF invoices (ProcessInvoicesMailbox). |
FAQ
Out of office or Sieve rules show an error.
An e-mail with OBS ERP: in the subject was not filed.
module > ID), that the account has Process ERP folder ticked, and that the ProcessERPMailbox task is active (Show next run).Can I connect more than one mailbox?
Which address do the automatic e-mails of OBS come from?
Related: Notifications · Work Flow · Scheduled Task · Document Templates.





