Skip to content
Nederlands

Emails Customers Receive

CSDesk sends several types of automated emails to customers throughout the ticket lifecycle. This guide explains each email type, when it’s sent, and how to customize them.

Template: requester_first_invite
When sent: Admin or agent creates a requester account
To: New requester

Subject: “Welcome to CSDESK - Your sign-in link”

Content:

  • Welcome message
  • Magic link to sign in (20-minute validity)
  • Brief explanation of the portal

Customization: Settings → Email → Email templates → “Requester First Invite”

Template: requester_magic_link
When sent: Requester requests magic link from /login
To: Existing requester

Subject: “Your CSDESK sign-in link”

Content:

  • Magic link to sign in (20-minute validity)
  • Expiry time and single-use notice
  • “Ignore if you didn’t request this” message

Rate limiting:

  • Max 6 per email per hour
  • 120-second server cooldown between requests
  • Newest link invalidates previous unused links

Customization: Settings → Email → Email templates → “Requester Sign-in Link”

Template: ticket_received
When sent: Ticket created from email (if enabled in workflow settings)
To: Ticket creator

Subject: “Your ticket has been received”

Content:

  • Ticket reference (CSD-1234)
  • The original subject
  • A note that replying to the email adds information to the ticket

Configuration:

  • Settings → Tickets & workflow → Workflow → Email intake
  • Enable/disable: Off by default
  • Scope:
    • Known/registered senders - Send only to senders with an account
    • All senders - Send to everyone, including unmatched domains

Note: Not sent for portal-created tickets (customer already in the portal).

Customization: Settings → Email → Email templates → “Ticket Received Acknowledgement (Sender)”

When sent: Agent sends public reply
To: Requester + all CC recipients

Subject: Re: [CSD-1234] Subject line

Content:

  • Agent’s message (HTML email with inline images)
  • Attachments (if any)
  • Ticket reference in subject
  • Email threading where possible (In-Reply-To/References headers)

Not a template: Reply content is the agent’s message
From address: The connected support mailbox (e.g., support@your-domain.com)

Template: ticket_archived_reply
When sent: Someone replies by email to an archived ticket while “Allow ticket creation by email” is off
To: Email sender

Subject: “Ticket CSD-1234 is archived”

Content:

  • Explanation that the ticket is archived and cannot receive replies
  • Notice that no new ticket was created
  • Link to the support portal to submit a new request

When email ticket creation is on, a reply to an archived ticket instead creates a new follow-up ticket linked to the archived one, and this email is not sent.

Rate limiting: Once per sender per calendar day (prevents reply loops)

Customization: Settings → Email → Email templates → “Archived Ticket Reply (Sender)”

Ticket Creation Rejected (Can’t Create Tickets)

Section titled “Ticket Creation Rejected (Can’t Create Tickets)”

Template: ticket_create_rejected
When sent: Email from requester with can_create_tickets = false
To: Sender

Subject: “We could not create a ticket from your email”

Content:

  • Explanation that the account cannot open new tickets, so no ticket was created
  • Contact administrator message

Rate limiting: Once per sender per calendar day

Customization: Settings → Email → Email templates → “Ticket Creation Rejected (Requester)”

Template: ticket_email_creation_disabled
When sent: An email that would create a new ticket while “Allow ticket creation by email” is off
To: Sender

Subject: “Your email has not created a ticket”

Content:

  • Explanation that the email has not created a ticket
  • Link to the support portal
  • Contact your support administrator if you have no portal access

Rate limiting: Once per sender per calendar day

Customization: Settings → Email → Email templates → “Email Ticket Creation Disabled (Sender)”

  • Rich formatted content
  • Inline images (embedded with Content-ID)
  • Proper layout and styling
  • Attachments as downloads
  • All emails include plain text version
  • For email clients that don’t support HTML
  • Same content, simplified formatting

CSDesk keeps replies in one thread where possible:

  • In-Reply-To and References headers point to the previous message
  • Subject prefix: Re: [CSD-1234] Subject
  • A small ticket reference line at the bottom of each email, together with a hidden reference, helps match customer replies to the right ticket
  • When a customer replies, CSDesk recognises the quoted copy of our earlier email and leaves it out of the ticket, so only the new text is shown. Agents can still open the quoted part. This also works when the customer’s email app removes the quote formatting, re-wraps the text or adds a security warning, and for emails sent before a change of brand name or email footer

Result: Most email clients show the ticket as one conversation thread.

With Microsoft Graph, emails are sent from the connected support mailbox (Settings → Email → Mail connection). Replies go back to that mailbox.

  • OAuth-authenticated connection to Microsoft 365
  • Reliable delivery through trusted Microsoft infrastructure
  • Uses the support mailbox you connect under Settings → Email → Mail connection

Learn more about email settings →

  • Some emails are sent through the database queue
  • Queued jobs are tried up to 3 times
  • Failed jobs logged for review

Successful:

  • Message sent, accepted by recipient’s mail server
  • No notification to agent

Failed:

  • A failed agent reply is shown on the ticket page (if applicable)
  1. Go to Settings → Email → Email templates (/admin/email-templates)
  2. Find template to edit
  3. Click Edit
  • Subject line (with placeholders)
  • HTML body (full HTML with inline CSS)
  • Plain text body (fallback version)

Vary by template. Common ones:

  • {{ user_name }} - Recipient’s name
  • {{ app_name }} - Application name
  • {{ support_email }} - Support email address (rejection and acknowledgement emails)
  • {{ login_url }} - Magic link URL (sign-in templates, required there)
  • {{ ticket_reference }} - Ticket reference (CSD-1234)
  • {{ original_subject }} - Subject of the customer’s email
  • {{ portal_url }} - Link to the portal (rejection notices)
  • {{ organization_name }} - Customer organization

Full placeholder list →

  1. Click Preview to see rendered email with sample data
  2. Click Send Test Email to Me to send it to your own address
  3. Check inbox and spam folder
  4. Verify HTML and plain text versions
  • Per email: 6 links per hour
  • Server cooldown: 120 seconds between requests
  • Link invalidation: Requesting new link cancels old ones

Purpose: Prevent abuse and brute-force attempts

  • Once per sender per calendar day (for rejected creation and disabled intake)
  • Uses installation timezone for day boundaries
  • Prevents reply loops with automated systems

Emails from blocklist:

  • Create Spam tickets (no email to customer)
  • No acknowledgement sent
  • Spam tickets deleted after 7 days

Learn more about blocklist →

Check:

  1. Is email address correct in their account?
  2. Check spam folder
  3. Is Microsoft Graph connected? (Settings → Email → Mail connection)

Common causes:

  • Email in spam folder (configure SPF/DKIM)
  • Microsoft Graph connection needs attention (reconnect under Settings → Email → Mail connection)

Check:

  1. Did it expire? (20 minutes)
  2. Was it already used? (single-use)
  3. Was a newer link requested? (invalidates old ones)
  4. Is link complete? (some email clients wrap long URLs)

Solution: Request new link, ensure full URL is copied.

Check:

  1. Settings → Email → Mail connection: the connected mailbox (emails are sent as the mailbox you signed in with)

Check:

  1. Did you click Save Template?
  2. Send test email to verify
  3. Clear browser cache (Ctrl+F5)

For magic links: Changes apply immediately to new link requests.

Improve deliverability:

  1. Configure SPF record for your domain
  2. Configure DKIM signing
  3. Configure DMARC policy
  4. Avoid spam trigger words in subject/body

Test: Send test email and check spam score with mail-tester.com

  • Keep concise (< 60 characters)
  • Include ticket reference when applicable
  • Use clear, descriptive text
  • Avoid spam trigger words (FREE, URGENT, etc.)
  • Use simple HTML (complex layouts may break)
  • Include plain text version that conveys same information
  • Test in multiple email clients (Gmail, Outlook, Apple Mail)
  • Use inline CSS (external stylesheets often stripped)
  • Ensure links are absolute URLs (include https://)
  • Match your brand voice
  • Be clear and concise
  • Avoid jargon or technical terms
  • Friendly but professional
  • Include contact information for questions
  • Always test with actual data (not just preview)
  • Handle missing data gracefully (some fields may be empty)
  • Don’t over-use placeholders (keep human touch)
  • Send test emails before deploying changes
  • Test on mobile and desktop
  • Check spam folders
  • Verify links work
  • Review plain text version

Back to Documentation