Mail queue, schedules and statistics
This page covers four tabs of Settings → Mail (/config/mail): the outbound Queue, the Schedule of automatic mails, the Scheduler queue and the delivery Statistics. Templates, sender accounts, the sending rules and the permission table are on the Mail page. See Who can access each tab for the permission each tab needs. The Schedule and Scheduler queue tabs also need the Scheduled Mails module.
Queue tab
The queue lists every outgoing mail, newest first, with what happened to it.
Mail queue with status filters, search and result column
Filters and search
The filter buttons show how many mails are in each state:
| Filter | Meaning |
|---|---|
| All | Every mail in the log. |
| Pending | Waiting to be sent, or being sent right now. |
| Sent | Delivered to the recipient's mail server. |
| Failed | Gurita gave up because of a delivery problem: the recipient address was rejected, the mailbox is full, the mail server could not be reached, the campaign was cancelled, or delivery failed repeatedly. |
| Cancelled | The mail was not sent because the sender account could not sign in. Shown in red while there are any. Once the account is reconnected, these mails can be sent again unchanged. |
| Dry run | Generated while dry run was on and held back. Only shown while such mails exist. |
The search field (Recipient, subject or booking no.) matches the subject, the recipient addresses and the booking, guest or agency the mail belongs to.
Reading a row
- Status — the filter the mail belongs to.
- Mail — the subject, a chip with the booking number (or guest or agency) the mail belongs to, and via reservations@example.com, the account it goes out through. If the mail's own account is paused, this shows the default sender that takes over. Mails sent before this version have no chip.
- Recipient — the first recipient, with TO, CC or BCC and +N for further recipients.
- Scheduled — when the mail is (or was) due to go out.
- Result — Delivered; In queue; Sending…; Waiting for account (the sender account can't sign in — the mail goes out once you reconnect it); On hold (dry run); or, for failed and cancelled mails, the reason — for example Sign-in expired, Recipient address rejected, Mailbox full, Mail server not reachable, Campaign cancelled, Gave up after repeated attempts, No sender account, Sending is switched off or Unknown error. The raw code from the mail server is shown under the reason (for example
550 5.1.1).
Retrying mails
- One mail: click the retry icon (Retry this mail) on a failed or cancelled row.
- Several mails: tick the rows and click Retry in the selection bar.
- All cancelled mails: while there are cancelled mails and every account can sign in, a bar above the table says "12 mails were cancelled while the account was disconnected. Send them again now?". Click Retry all cancelled.
- All failed mails: in the Failed filter, a bar says "5 mails could not be delivered. Send them again now? Mails whose attachments are no longer stored are skipped." Click Retry all failed.
Mass actions need a second click. Retry all cancelled, Retry all failed and Send now on a selection do not act on the first click. The button turns into Click again to send 12 mails. Click again within 5 seconds to send. If you wait, or click a different action, the button resets. Retrying one mail or a ticked selection with Retry acts at once.
"Retry all" always covers every cancelled (or failed) mail in the log, not only the ones matching your search — the bar says so while a search is active.
The count only includes mails a retry can send. The number on the Retry all failed bar and in Click again to send N mails leaves out mails of a cancelled campaign and mails whose attachments are no longer stored. If none can be sent, the bar is hidden.
A retried mail goes back to Pending and is sent at the next sending run. A toast says how many mails were queued again and how many could not be retried: "N could not be retried (attachments no longer stored or campaign cancelled)". If nothing was left to send, it says There was nothing left to retry. A failed mail's attachments are not kept, so a failed mail that had attachments cannot be sent again — send it again from the booking instead. Mails of a cancelled campaign are never retried.
Note: While the sender account still can't sign in, retrying is refused with Reconnect the account first, then retry. Reconnect the account in Setup, then retry.
Sending dry-run mails
Mails held back by dry run can be released: select them and click Send now, then Click again to send N mails within 5 seconds. They move to Pending and go out with the next sending run — to the real recipients. Turning dry run off does not release mails that were already held back.
Deleting mails
- To delete one mail, click the trash icon on its row (Delete this mail). The icon turns red (Click again to delete this mail); click it again within 5 seconds to delete the mail. If you wait, the first click is forgotten.
- To delete several mails, select them and click Delete, then Click again to delete N mails within 5 seconds. Selecting different rows resets the confirmation.
Deleting removes the mail from the log; a pending mail is then not sent. Deleted mails cannot be restored.
Mails that are being sent right now cannot be deleted. If your selection contains one, Gurita deletes nothing and says "One of the selected mails is being sent right now and cannot be deleted. Nothing was deleted. Try again in a moment." Wait a moment and delete again.
Scheduled mails: deleting a mail that a schedule created also cancels its planned send in the Scheduler queue. The scheduler does not create the mail again for that recipient.
Schedule tab
Requires the Scheduled Mails module. The schedule holds the automatic mails: each one sends a template to a group of recipients whenever its rule matches — for example 10 days before arrival.
Mail schedule list with folders and status chips
The schedule list
Filter by folder with the chips at the top (All or a folder name) and use Search schedules to find one by name. Each row shows:
| Column | Shows |
|---|---|
| Status | Draft, Active, Paused, Ended (the active period is over) or Won't run (active, but the period is incomplete). |
| Schedule | The name, folder and template. |
| Sends | The rule in words and the recipients, e.g. 10 days before arrival · to Booking contact. |
| Valid | The active period, or open end. A warning line explains when a schedule will never send: Ended — won't run, No end date set — won't run, No start date set — won't run or No period set — won't run. |
| Last run | When the schedule last ran, or Never. |
Click a row (or Edit) to open it. With the keyboard, focus a row and press Enter or Space. Duplicate creates a copy named "… (copy)" as a Draft that has never run.
Creating or editing a schedule
Click New schedule (or open an existing one). The editor has a name and status at the top, three steps, and a summary.
Schedule editor with rule sentence and summary
Name and status. Give the schedule a Name (for example Pre-arrival information) and a Status:
- Draft — never sends. "Drafts never send. Set the status to Active when you're ready."
- Active — sends whenever the rule matches inside the active period.
- Paused — kept as it is, but not sent until you set it back to Active.
1. What is sent
- Template — the mail template to send. The picker is searchable and groups templates by their template folder.
- Send from — Default sender (…) or a specific sender account. The address in brackets is the account that really sends: the effective default sender, which can differ from the account marked Default while that one is paused. When no account can take over (the marked default is paused and nothing else qualifies), the option reads just Default sender — the Setup tab then shows Default · not in use on that account. A paused account is marked (paused).
- Folder — the folder this schedule is filed in on the list. New folder adds one.
2. When
The rule is one sentence you fill in, for example Send 3 days before arrival, or Send when a stay starts within the next 3 days. A small clock note beside it reads checked every 6 hours. Choose the trigger under When; it is grouped into Booking, Customer and Lists. There are 14 automatic triggers plus a one-off date:
| Group | Trigger | You also choose |
|---|---|---|
| Booking | before arrival, after arrival, before departure, after departure, after the booking is made | A number of days, weeks or months |
| Booking | when a stay starts within | How far ahead, e.g. when a stay starts within the next 30 days |
| Booking | once, on a fixed date | The date |
| Customer | before the birthday, after the last stay, after joining the loyalty program, after the last stay, if nothing new is booked | A number of days, weeks or months |
| Customer | after stay number | Which stay, e.g. after the 3rd stay |
| Customer | after stays at a number of properties | How many different properties |
| Lists | to everyone in a customer list | A saved customer filter (CRM → Filter) |
| Lists | to everyone in an agency list | An agency group |
An older schedule whose rule no longer fits these options is shown as "(old rule)" with its stored value ("Stored as … — kept as it is unless you change the number.").
Then set the active period: Active from and Active until. Click No end date for a schedule that should run indefinitely. Quick set: fills in Rest of … or All of …. The year in Rest of … follows your property's time zone, not your browser's. The chips are disabled if you may only view schedules.
Warning: A schedule only runs when both dates are set. A schedule without a start or end date never sends — the list marks it Won't run and the editor offers Run with no end date to fix it in one click.
3. Who receives it
Recipient — open the menu and tick one or more recipient types; the menu stays open while you choose and can be searched. The field then reads, for example, Booking contact + 1 more.
Group Recipient type Who gets the mail Booking Booking contact The person who made the booking, if they have an e-mail address and accept scheduled mails Booking Booking contact (direct only) The booking contact, only on direct bookings — never on agency bookings Guests All guests Every guest on the booking who has an e-mail address and accepts scheduled mails Guests All guests (direct only) Every guest on the booking, only on direct bookings Agencies Agency The booking's agency, at its booking e-mail (or main e-mail) — active agencies only Agencies Agency group Active agencies in the agency group chosen in the rule Customers Club members Customers with an active loyalty membership Customers Customer group Customers in the customer group chosen in the rule For Customer group and Agency group, choose the list in the extra field that appears. A schedule can use only one of the two. Older schedules may still show Agent users (legacy) — it no longer sends anything and can be removed.
Property, Itinerary, System connection — "Only send for bookings matching — leave on 'Any' to include all." Narrow the mail to certain properties, itineraries or booking channels. Booking rules (the Booking group) need at least one property: "Choose at least one property — booking rules without a property never send".
Summary. The panel on the right repeats the schedule as a sentence (Sends "Pre-arrival information" to Booking contact of Example Resort, 10 days before arrival, between … and …) and shows:
- Recipients right now — how many recipients match the rule today, each counted once. It updates as you edit (choose a template first) and when you reopen a schedule; Recount refreshes it. A recipient who already got this mail recently is not counted again.
- Next run — for example Checked every 6 hours, On … · checked every 6 hours, From … · checked every 6 hours, Not scheduled — draft, Paused, Never — period ended, Never — the date has passed or Never — period incomplete.
- Last run and Sent from.
Gurita checks active schedules every 6 hours. A mail goes out at the first check after its rule matches, not at a fixed time of day.
Warnings in the editor point out anything that keeps the schedule from sending: a draft, dry run switched on in Setup, an ended period (with Extend to end of …), a one-off date that has passed, a missing start or end date, a missing property, or a sender account that can't sign in (with Reconnect).
Click Save schedule. If a required field is missing, the editor says Fill in the marked fields. Delete removes the schedule after a second click: the button turns into Click again to delete, and you have 5 seconds to click it again. If the delete fails, the editor stays open and shows the reason. Closing with unsaved changes asks Discard changes? first.
Note: Users who may view but not change schedules see the editor read-only: "View only — you are not allowed to change schedules."
Previewing a scheduled mail
Click Preview in the editor. You need Mail schedule → Edit and Bookings → View; without both, the button is not shown. The preview uses the schedule as it is in the editor, including unsaved changes, so you can check a change before saving it.
- On the left, under Booking data, pick a booking. Bookings that match the rule come first and are marked ✓ matches rule.
- The mail is rendered with that booking's data, including the header and footer from Setup › Scheduled mail layout. Above it you see From and To — the real recipients for that booking, or No recipient for this booking when the rule wouldn't mail anyone.
- Switch the Preview width between Desktop and Mobile.
Nothing is sent or stored. Send test… opens the test dialog with the same booking.
Sending a test mail
Click Send test… in the editor (or in the preview). It needs the same two permissions as the preview: Mail schedule → Edit and Bookings → View.
- Fill in with data from booking — search by booking no., guest or agency and pick a booking. Matches marks bookings the rule would select.
- Send to — Me (your address), Real recipient (…), or type any Recipient e-mail address. Choosing the real recipient shows a warning: "This is the real recipient — they will receive the mail, marked as a test."
- Check the preview (From, To, Subject) and click Send test.
The test mail is sent immediately, with the subject starting with [TEST]. It is sent even while dry run is on, and is not logged in the queue. You can send up to 10 test mails a minute.
If the sending account can't sign in, the dialog says so and offers Reconnect (Gmail) or asks you to fix the login in Setup › Sender accounts. If the sending account is paused, Gurita never sends through it: the dialog says the test goes out from the active default sender instead, or, when no active default sender can take over, that the test will fail until you resume the account.
Scheduler queue tab
Requires the Scheduled Mails module. "One row per recipient of a scheduled mail." When a schedule runs, it creates a row here for each recipient; the row stays as a record that this recipient has received this scheduled mail.
- Filters: All, Planned (created, not yet sent), Sent and Aborted, each with a count.
- Search: Recipient or subject.
- Columns: Status, Mail, Recipient, Send date, Opened (Opened … or Not opened), Result (Sent, Waiting to be sent, Aborted, Address bounced, Temporary bounce) and Actions.
- Delete a row with the trash icon, then Click again to delete within 5 seconds. The same list appears on a customer's profile, limited to the mails sent to that guest.
Statistics tab
The Delivery card shows delivered versus aborted mails per day.
Delivery statistics with KPIs, chart and abort reasons
- Time range: 7, 14 or 30 days.
- Delivered, Aborted and Delivery rate for the period. The rate note says Healthy, or Below 90% — check the reasons below. The percentage uses the number format of your app language, for example 95% in English and 95 % in German.
- A chart of delivered and aborted mails per day. Days follow your company's time zone.
- Why mails were aborted — the most frequent reasons in the period, labelled like the Queue's Result column (for example Recipient address rejected, Sign-in expired or No sender account). Mails that failed before this version are sorted into the same reasons as new ones, so the same reason is never listed twice. The counts are exact. No aborted mails in this period when there were none.
Keyboard and screen readers
- Schedule list rows open with Enter or Space.
For option groups and form errors, see Keyboard and screen readers on the Mail page.
Troubleshooting
Sign-in, Google and sender-account problems are covered under Troubleshooting on the Mail page.
"Reconnect the account first, then retry." You tried to retry mails whose sender account still can't sign in. Fix the account first (see Troubleshooting on the Mail page).
The Result column says "Unknown error". The mail server refused the mail without a reason Gurita recognises. Check the raw code under the label, check the recipient address, then retry the mail. If it fails again with the same code, check the sending mailbox at your provider (for example its sent-mail limits or blocked recipients).
Scheduled mails reach nobody. Check, in this order:
- Is Dry run is on. shown at the top of the page? Scheduled mails are then logged as Dry run in the Queue but never delivered. Turn dry run off and save; release mails already held back with Send now.
- Is Send mails switched off on the Setup tab? Then nothing leaves Gurita.
- Does the schedule show Draft, Paused, Ended or Won't run? Open it and read the warnings in the editor.
- Does a booking rule have at least one Property? Without one it never sends.
- Does Recipients right now show 0? Check the recipient types and the Subscriptions settings — guests who opted out (or haven't opted in, when the default is off) receive no scheduled mails.
The Result column says "No sender account". No default sender is set, or it can't send. Mark an active, connected account as Default sender.
"Too many test mails — wait a minute and try again." You can send up to 10 test mails per minute. Wait a moment and send again.
"One of the selected mails is being sent right now and cannot be deleted." Nothing was deleted. Wait a moment, then delete again.
The Preview and Send test buttons are missing, or the preview says you need permission to view bookings. The preview and the test mail need a booking to fill in the mail. They need both Mail schedule → Edit and Bookings → View. Ask an administrator.
Who can access this: see Who can access each tab. Visible when the Mail module is active; the Schedule and Scheduler queue tabs also need the Scheduled Mails module.
