Emails Customers Receive
Overview
Section titled “Overview”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.
Email Types
Section titled “Email Types”1. Magic Link Emails
Section titled “1. Magic Link Emails”First-Time Requester Invitation
Section titled “First-Time Requester Invitation”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”
Requester Sign-In Link
Section titled “Requester Sign-In Link”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”
2. Ticket Notification Emails
Section titled “2. Ticket Notification Emails”Ticket Received Acknowledgement
Section titled “Ticket Received Acknowledgement”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)”
Agent Public Reply
Section titled “Agent Public Reply”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)
Archived Ticket Reply
Section titled “Archived Ticket Reply”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)”
3. Rejection Emails
Section titled “3. Rejection Emails”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)”
Email Ticket Creation Disabled
Section titled “Email Ticket Creation Disabled”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)”
Email Content & Formatting
Section titled “Email Content & Formatting”HTML Email
Section titled “HTML Email”- Rich formatted content
- Inline images (embedded with Content-ID)
- Proper layout and styling
- Attachments as downloads
Plain Text Fallback
Section titled “Plain Text Fallback”- All emails include plain text version
- For email clients that don’t support HTML
- Same content, simplified formatting
Threading
Section titled “Threading”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.
From Address
Section titled “From Address”With Microsoft Graph, emails are sent from the connected support mailbox (Settings → Email → Mail connection). Replies go back to that mailbox.
Email Delivery
Section titled “Email Delivery”Microsoft Graph (Production)
Section titled “Microsoft Graph (Production)”- 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 →
Queue System
Section titled “Queue System”- Some emails are sent through the database queue
- Queued jobs are tried up to 3 times
- Failed jobs logged for review
Delivery Status
Section titled “Delivery Status”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)
Customizing Email Templates
Section titled “Customizing Email Templates”Accessing Templates
Section titled “Accessing Templates”- Go to Settings → Email → Email templates (
/admin/email-templates) - Find template to edit
- Click Edit
Editable Fields
Section titled “Editable Fields”- Subject line (with placeholders)
- HTML body (full HTML with inline CSS)
- Plain text body (fallback version)
Available Placeholders
Section titled “Available Placeholders”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
Testing Changes
Section titled “Testing Changes”- Click Preview to see rendered email with sample data
- Click Send Test Email to Me to send it to your own address
- Check inbox and spam folder
- Verify HTML and plain text versions
Rate Limiting & Spam Prevention
Section titled “Rate Limiting & Spam Prevention”Magic Link Rate Limits
Section titled “Magic Link Rate Limits”- 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
Rejection Email Rate Limits
Section titled “Rejection Email Rate Limits”- Once per sender per calendar day (for rejected creation and disabled intake)
- Uses installation timezone for day boundaries
- Prevents reply loops with automated systems
Blocked Senders
Section titled “Blocked Senders”Emails from blocklist:
- Create Spam tickets (no email to customer)
- No acknowledgement sent
- Spam tickets deleted after 7 days
Troubleshooting
Section titled “Troubleshooting”Customer not receiving emails
Section titled “Customer not receiving emails”Check:
- Is email address correct in their account?
- Check spam folder
- 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)
Magic link not working
Section titled “Magic link not working”Check:
- Did it expire? (20 minutes)
- Was it already used? (single-use)
- Was a newer link requested? (invalidates old ones)
- Is link complete? (some email clients wrap long URLs)
Solution: Request new link, ensure full URL is copied.
Emails have wrong “From” address
Section titled “Emails have wrong “From” address”Check:
- Settings → Email → Mail connection: the connected mailbox (emails are sent as the mailbox you signed in with)
Template changes not applied
Section titled “Template changes not applied”Check:
- Did you click Save Template?
- Send test email to verify
- Clear browser cache (Ctrl+F5)
For magic links: Changes apply immediately to new link requests.
Emails going to spam
Section titled “Emails going to spam”Improve deliverability:
- Configure SPF record for your domain
- Configure DKIM signing
- Configure DMARC policy
- Avoid spam trigger words in subject/body
Test: Send test email and check spam score with mail-tester.com
Best Practices
Section titled “Best Practices”Subject Lines
Section titled “Subject Lines”- Keep concise (< 60 characters)
- Include ticket reference when applicable
- Use clear, descriptive text
- Avoid spam trigger words (FREE, URGENT, etc.)
Email Body
Section titled “Email Body”- 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://)
Tone & Language
Section titled “Tone & Language”- Match your brand voice
- Be clear and concise
- Avoid jargon or technical terms
- Friendly but professional
- Include contact information for questions
Placeholders
Section titled “Placeholders”- 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)
Testing
Section titled “Testing”- Send test emails before deploying changes
- Test on mobile and desktop
- Check spam folders
- Verify links work
- Review plain text version
Related Topics
Section titled “Related Topics”- Email Templates - Customize email content
- Email Settings - Configure Microsoft Graph
- Workflow Settings - Configure ticket acknowledgement
- Customer Portal - Portal features customers see