Mail Desk docs
v1.0.0
Get help
● Set up · Mail Desk > Settings

Settings
every option and its default.

Mail Desk > Settings needs the Settings permission. Every option has a safe default, so you can start without changing anything.

SyncLimitsTeamStorageAI

01Sync

The page has four cards (Sync, Team, Convert to lead or ticket, Attachments) and the AI assistant card below them. Save settings at the bottom saves all of them. Numbers outside the range are set to the nearest allowed value.

Option (as labelled)DefaultRangeWhat it does
Import the last N days300 – 3650"Default for new mailboxes." Each mailbox keeps its own value (First import). 0 = all mail.
Messages per cron run and mailbox501 – 500How many messages one sync reads from a mailbox (Inbox and Sent together). "Large first imports continue on the next runs."
Max message (MB)251 – 200Larger received messages are stored with headers only. Also the most all attachments of a message you send may weigh together.
Max attachment (MB)151 – 200Larger received attachments are not stored, only listed.
Max upload (MB)101 – 100The most one file you attach to a message may weigh. Your PHP upload limit (upload_max_filesize, post_max_size) must allow it too.

The card's header shows "Last cron run time ago" (green) or "The Perfex cron has not run Mail Desk yet", and its footer reminds you to run the Perfex cron every 5 minutes.

Mail Desk Settings with the Sync, Team, Convert to lead or ticket and Attachments cards and the AI assistant card
Mail Desk › Settings · Sample data · development harness, not a Perfex install

02Team

Option (as labelled)DefaultWhat it does
Status after a replyWaitingThe status a conversation gets after someone sends a reply from Mail Desk: Waiting (for the other side) or Closed. Open leaves the status as it is.
Reopen a closed conversation when the customer writes againOnA waiting or closed conversation becomes Open when the other side writes again.
Notify a staff member when a conversation is assigned to themOnThe assignee gets a Perfex notification.
Presence window (seconds)9020 – 600. How long "is looking at" and "is writing" stay visible to colleagues after their browser last reported in.
ThemeLightLight, Dark, or Follow the browser. Applies to Mail Desk's pages and the customer Emails tab.

03Convert to lead or ticket

"IDs from Perfex. 0 uses Perfex's own default lead status and source, and the first ticket department." Type the numeric ID you see in Perfex (for example in the address bar when you edit a lead status).

Option (as labelled)DefaultWhat it does
Lead status ID0Status of leads created from e-mail. 0: Perfex's default lead status.
Lead source ID0Source of leads created from e-mail. 0: Perfex's default lead source.
Ticket department ID0Department of tickets created from e-mail. 0: the first department in Perfex. Without any department, tickets cannot be created.

04Attachments

The card's header says Folder writable or Folder not writable.

Option (as labelled)DefaultWhat it does
Delete stored attachments after N days00 – 3650. "0 keeps them." Otherwise the daily clean-up deletes stored attachment files older than this; messages stay, and the originals remain on your mail server.
Storage folder (optional)Empty: uploads/mail_desk/filesAn absolute path, ideally outside the web root, for example /home/account/mail-desk-files. A relative path or one containing .. is not saved. The folder must exist and be writable by PHP; if it is not, Mail Desk keeps using the default folder.

A line under the fields says where the encryption key for mailbox passwords is kept: in a file outside the database (normal) or, when the uploads folder was not writable at activation, as a Perfex option.

Changing the folder later

Mail Desk does not move existing files. Copy the contents of the old folder to the new one yourself (keep the sub-folders), otherwise older attachments show as removed.

05AI assistant

All AI options are explained on Optional AI. AI is off by default.

Option (as labelled)Default
Switch on the AI assistantOff
ProviderAnthropic Claude
ModelEmpty: you enter the model name
API keyEmpty (write-only; Remove the stored key appears once a key is saved)
Address (Ollama and OpenAI-compatible only)Empty
Requests per month (whole install)500 (0 = no limit)
Requests per staff member per day30 (0 = no limit)
Tone for all mailboxesEmpty
Apply suggested labels without approvalOff
Apply suggested priority without approvalOff

Test the AI connection at the bottom of the card tests the saved settings (it counts as one request).