Email (Microsoft 365)
Core · General
Send reminders and letters from your Microsoft 365 mailbox and see customer replies in Bilendo.
What Email (Microsoft 365) delivers
Sending from your own mailbox. Reminders (stages 1 to 7) and letters go out through your Microsoft 365 mailbox instead of Bilendo's sending service. Bilendo sends through the Microsoft Graph API, and the emails are saved in the mailbox's Sent Items.
Sign in once, no password stored. You sign in to the mailbox with Microsoft one time. Bilendo stores no host, port or password and keeps sending without a new sign-in.
Replies in Bilendo. Optionally, Bilendo also reads the same kind of mailbox through Microsoft and shows each customer reply, with its attachments, on the reminder or letter it answers. Replies can be read in Bilendo, not answered from it.
Emails to Bilendo users (notifications, invitations, reports) and all other emails besides reminders and letters always go through Bilendo.
How it works
- Add a mail server with the provider type Microsoft API → Authorize with Microsoft and sign in to the mailbox
- Authorize with Microsoft and sign in to the mailbox → Bilendo checks the connection
- Bilendo checks the connection → Reminders and letters are sent from your mailbox
- Reminders and letters are sent from your mailbox → Emails are saved in Sent Items
- Reminders and letters are sent from your mailbox → Your customer replies
- Your customer replies → Bilendo reads the chosen folders every 15 minutes
- Bilendo reads the chosen folders every 15 minutes → Reply appears on the reminder or letter
What you need
**The right Integrations with write access** in Bilendo.
Someone who can sign in to the mailbox and grant consent in Microsoft's own screen. For sending, this is the mailbox that sends your reminders and letters; for reading replies, the mailbox that receives them.
Your Microsoft administrator's approval, if Microsoft asks for it. If Microsoft shows "Need admin approval" or similar during sign-in, your administrator must allow the app first.
For reading replies: access to the sent folder of the sending mailbox if you use the Message ID method. Without that access, use the Email body method (see below).
Setting it up in Bilendo
Sending reminders and letters
Open Settings > Technology > Outbound Mail Server and add a server.
Choose Microsoft API as Provider Type and continue. Bilendo opens the OAuth Authorization page.
Click Authorize with Microsoft, sign in with the sending mailbox and accept the requested permissions: Mail.Send (send email as the mailbox), User.Read (read the mailbox address) and offline_access (keep sending without a new sign-in).
Bilendo returns to the server form, which shows Connected as with the mailbox address. The address is filled in as the default sender Email.
Set Reply-To and BCC if you need them and save. Bilendo runs the connection check; afterwards use Send Test Email on the server's page to check that a message arrives.
To use the server for a customer group or dunning group, set the field Email server under Settings > General Settings > Customers Groups or Settings > General Settings > Dunning Groups (you need the right Settings with write access).
Reading customer replies
Open Settings > Technology > Inbound Mail Server and add a server. Choose the provider type Microsoft API.
Click Authorize with Microsoft and sign in with the mailbox. Bilendo requests Mail.Read, User.Read and offline_access, returns to the server form and fills in the account details.
Decide how replies are recognised and save: Message ID (default, reads your sent folder) or Email body (switch on Enable Reply Tracking Without Outbox Access; no sent folder needed, but it fails if the recipient deletes the quoted text).
Click Activate. Check connection establishes the connection and finds the folders of the mailbox.
Choose the Inbox folders to read and, for the Message ID method, the Sent folder, then activate.
Good to know
The sender is the connected mailbox. The sender Name and Email fields are not used for sending: Microsoft sends as the mailbox, with its display name from Microsoft 365. The Different senders section is not offered, so all reminders and letters go out with the connected mailbox as sender.
Which server sends. For a reminder or letter, Bilendo takes the first server it finds in this order: the server of the customer group, the server of the dunning group, your default server. If there is none, the email goes through Bilendo's sending service.
The provider type cannot be changed later. To move from an SMTP server to Microsoft, create a new server and assign it instead of the old one.
If sending stops working. If an administrator reset the password or the consent was revoked, reminders can fail with a token or Microsoft Graph error. Click Disconnect on the server form, authorize with Microsoft again and resend the failed mailings. Disconnect deletes the stored authorization, so the server cannot send until it is authorized again.
Replies are linked, nothing more. Only emails written as a reply to a reminder or letter are linked, whichever outbound mail server sent the original. For Microsoft 365 only top-level folders are offered as Inbox folders. Viewing replies needs the right Letters or Reminders with read access.
Where Bilendo starts reading. After activation, Bilendo reads from the moment of the first run, so a reply arriving in the first 15 minutes can be missed.
If reading stops. If Microsoft refuses the authorization, the server is set to inactive and replies are no longer collected; your technical users receive an email, at most once a day. Authorize with Microsoft again and activate the server. Other errors are listed in the Error log on the server page, and the next run tries again.
Attachments are kept if they are png, jpg, jpeg, pdf, xlsx, xls, doc, docx, msg, eml, txt, csv or zip.