Tutorials / Desk

Tutorial · no code · 30 minutes

Set up GhostParse Desk: from install to a shared inbox

By the end, your domain has its own mailboxes in a modern webmail on your own hosting: you'll have sent and received your first email, saved a contact, and shared a support@ inbox with a teammate.

We follow GhostParse's own small team as they set up ghostparse.com. Bob runs the business; Sally answers customers. Every screenshot comes from a real install.

What you need

1. Add your domain

Sign in to the dashboard. Under Domains, enter your domain and choose Add domain. You get four DNS records to add where your domain's DNS is hosted (your registrar, Cloudflare or your hosting):

  • SPF, DKIM and DMARC let you send: they prove your email comes from you, so it reaches inboxes rather than spam folders.
  • MX brings your domain's email to GhostParse. Add it when you're ready to move your email over (see moving from another provider).

DNS at Cloudflare? Open Use Cloudflare? Add these records automatically on the same page instead. Once the records are in, choose Verify DNS records. Each one turns Verified, usually within minutes.

The domain's DNS records in the dashboard: SPF, DKIM, DMARC and MX, each with its host, value, a Copy button and a green Verified badge.
All four records verified

Then, further down the page under Inbound mail, choose Enable inbound, so the domain can receive email.

2. Create your email addresses

Each address you want, whether a person (bob@) or a team (support@), goes under Email addresses on the domain's page. Type the part before the @, keep Send and Receive ticked, and choose Add address.

The Email addresses section with bob@ghostparse.com and support@ghostparse.com, both able to send and receive, and a box to add another.
One address for Bob, one for the team

Email to addresses that aren't on the list is refused, so spammers can't invent new ones. Sub-addresses work on their own: bob+newsletters@ arrives in Bob's mailbox. You can add more addresses at any time (step 9).

3. Install Desk

Desk is a PHP app that runs on your hosting, with your email stored encrypted in your own MySQL database. Pick the way that suits your hosting.

On a server panel or your own server: one command over SSH

  1. In your panel, create a new PHP site for Desk, such as mail.ghostparse.com, with PHP 8.1+ and its free SSL certificate. Then create an empty MySQL database and a user for it. Where to find these in each panel.
  2. Back on the domain's page in the dashboard, open Install Desk over SSH and choose Make the install command.
The Install Desk over SSH card: two steps, a Make a new command button, and the two-line command with a one-time setup code.
The command carries a one-time setup code, good for an hour
  1. Sign in to your server over SSH as the site's user, change --dir to the site's folder, and run the two lines. The installer asks only for the database and your own sign-in. Passwords are typed unseen.
$ curl -fsSLO https://ghostparse.com/install/webmail.sh
$ sh webmail.sh --dir=/home/ghostparse/webapps/mail --url=https://mail.ghostparse.com --code=wms_…
GhostParse Desk 1.43.1

Setup code for ghostparse.com.

The database (create an empty one and its user in your panel first):
  Database host [localhost]:
  Database name: ghostparse_mail
  Database user: ghostparse_mail
  Database password:

Your own sign-in to Desk (you add other people from inside it):
  Your email address [bob@ghostparse.com]:
  Your password (10 characters or more):

Downloading webmail-1.43.1.zip…
Made the API key ek_live_TIkf… for this Desk (under API keys in the dashboard).

Installing…
Mailboxes: bob@ghostparse.com, support@ghostparse.com

Checked: the web server keeps the code, settings and stored files private.

Installed. Open https://mail.ghostparse.com and sign in as bob@ghostparse.com.
Back up /home/ghostparse/webapps/mail/config.php: it holds the encryption key, and without it the stored mail can't be read.

Every address on the domain became a mailbox, and GhostParse now delivers their email to Desk. If the installer says the web server shows private files, your site runs on nginx alone: add the four nginx rules it prints, and run it again. Keep a copy of config.php somewhere safe.

On cPanel hosting

On the domain's page, open On cPanel hosting? Connect cPanel, paste a cPanel API token, and choose Install Desk. GhostParse creates the database, uploads Desk and gives you a one-time link to finish. The details. If your host offers Softaculous or Installatron, you may find GhostParse Desk there too.

Anywhere else

Download Desk 1.43.1, upload the folder to your hosting and open its address: a five-step installer walks you through it. The guide.

4. Sign in, and set up two-step verification

Open your Desk's address and sign in with the email address and password you gave the installer. The first time, you set up two-step verification, which everyone has to have:

  1. Scan the QR code with your authenticator app (or type the key into it).
  2. Enter the 6-digit code it shows and choose Turn on.
  3. Save your ten recovery codes in a password manager. Each one signs you in once if you lose your phone.
Desk's sign-in page for GhostParse, with email and password fields and a passkey button.
Signing in
Set up two-step verification: install an authenticator app, scan the QR code, then enter the 6-digit code and choose Turn on.
Two-step verification, the first time

From then on, each sign-in asks for a code from the app. Prefer your face or fingerprint? Under Settings → Sign-in & alerts, choose Add a passkey. Next time, choose Sign in with Face ID (or with a passkey) on the sign-in page, or pick it from your keyboard's suggestions; in the installed app on your phone, Face ID comes up by itself. While you're there, Turn on notifications to hear about new email on this device.

On your phone, add Desk to your home screen (Safari: Share → Add to Home Screen; Chrome: Install app) and it opens like an app.

5. Set your name and signature

Open Settings (the gear by your name) → Mailboxes. For each mailbox, set the Name people see, your Position and a Signature, and choose Save. The preview shows how it looks.

Settings for bob@ghostparse.com: Name people see is Bob Smith, Position is Founder, a three-line signature, an empty disclaimer box and a preview of the signature.
Bob's name, position and signature

Signatures are kept on GhostParse, so they're added wherever the address's email is sent from: Desk, your website or your shop. Administrators can also set a disclaimer for everyone at the domain.

6. Send an email

Choose Compose (or press c). Pick the From address if you have more than one, fill in To and Subject, and write. You can format text, add links and attach files up to 20 MB. Your signature is shown underneath; untick Add my signature to leave it out of this email.

The New message window: From Bob Smith, To Emma Wilson, the subject Welcome to GhostParse, the message, and Bob's signature under it with Send and Save draft buttons.
Writing to a customer

Choose Send. It's sent by GhostParse, signed for your domain, and a copy is saved in Sent. Not ready yet? Save draft keeps it in Drafts.

7. Receive email

There's nothing to set up: email to your addresses arrives at GhostParse, which checks who sent it and passes it to your Desk within seconds. It's stored there encrypted. When Emma replied, the reply appeared in the inbox, in the same conversation as Bob's message:

The inbox with Emma Wilson's reply open: the conversation shows Bob's original email collapsed above Emma's reply, with Reply, Reply all and Forward buttons.
A reply, kept in its conversation
  • Reply, Reply all and Forward are under the email (or press r and f). The bar above has Archive, Spam, Delete, Mark unread and Star.
  • Remote images are blocked until you choose Show images, so senders can't tell when you open their email. Email that fails its sender checks is marked as an unverified sender.
  • Email GhostParse's spam check flags goes to Spam. Search finds senders, subjects and message text.

8. Add a contact

The quickest way is from an email: choose Add to contacts next to the sender's name. To add details, open Contacts, choose the person and Edit. Or choose New to add someone from scratch, with their name, email, phone, company and notes.

Contacts: My contacts lists Emma Wilson, whose card shows Emma's email address, with Write an email, Edit and Copy to shared buttons.
Emma's contact card
  • My contacts are yours alone. Shared contacts are seen by everyone; administrators keep them up to date (Copy to shared copies one across).
  • Bringing contacts from Gmail, Outlook or your phone? Export them as a .vcf or .csv file and choose Import.
  • When you write an email, names are suggested from both address books as you type.

9. Add more addresses later

New starter, or a new accounts@ address? Add it on the domain's page in the dashboard (step 2). Then, in Desk, open Settings → Connect addresses and choose Connect next to it. It becomes a mailbox here, and its email is delivered to Desk from then on.

Settings, Connect addresses: bob@ and support@ are connected, and sally@, sales@ and accounts@ghostparse.com each have a Connect button.
accounts@ is ready to connect

You get access to it straight away. To give other people access, use Users, next.

10. Create a shared inbox

A shared inbox is a mailbox, such as support@, that several people read and answer. Everyone sees the same email and each other's replies, and replies go out from support@ under the team's name, not anyone's personal address.

  1. Make sure the address exists and is connected (steps 2 and 9). Under Settings → Mailboxes, give it a team name and signature, such as GhostParse Support.
  2. Open Settings → Users. Under Add a user, enter your teammate's name, the email they'll sign in with and a starting password. Choose the role User (administrators can also manage users and addresses). Under Mailboxes, tick support@, then choose Add user.
Add a user: name Sally Jones, email sally@ghostparse.com, a password, role User, and under Mailboxes only support@ghostparse.com is ticked.
Sally gets support@ only
The Users list: Bob Smith, admin, with both mailboxes; Sally Jones, user, with support@ghostparse.com and a note that two-step verification isn't set up yet.
Who can read what
  1. Send your teammate Desk's address and their password. At their first sign-in they set up two-step verification, as you did, and can change their password under Settings → Account.

Sally signs in and sees only the support inbox. James's partner enquiry is there, and Sally replies. The reply goes out as GhostParse Support, with the team's signature:

Sally Jones's Desk: James Taylor's email in the inbox and a Reply window from GhostParse Support <support@ghostparse.com> with the GhostParse Support signature.
Sally answers from support@

Bob has access to support@ too. Choosing it in the mailbox list at the top left (or staying on All mailboxes) shows James's email and Sally's reply in one conversation:

Bob's Desk filtered to support@ghostparse.com: the conversation shows James Taylor's enquiry and GhostParse Support's reply below it.
The whole team sees the whole conversation
  • Change who can read which mailboxes at any time under Settings → Users → Edit. Someone leaving? Tick Can't sign in: their access stops, and the mailbox and its email stay.
  • Lost phone? An administrator can choose Reset two-step verification for that person, who sets it up again at their next sign-in.

Moving from another provider

If your domain's email is still with Google Workspace, Microsoft 365 or your web host, bring it with you:

  1. In Desk, open Settings → Import email. Sign in with Google or Microsoft (or use an app password), or pick a mailbox on the same cPanel account. Choose the folders, and they're copied in, keeping read and starred marks. Nothing on the old server is changed.
  2. Add the MX record from step 1 and remove the old one, so new email comes to GhostParse.
  3. A day later, choose Check for new mail on the import to catch anything that reached the old mailbox in between.

Imported email doesn't count towards your plan.

If something isn't working

  • No email arrives. In Desk, administrators can check Settings → Status. In the dashboard, check the domain shows Inbound: Active, and look at the Delivery log: a 400 invalid_signature means Desk's signing secret doesn't match.
  • "Not sent: …" Usually the domain's SPF, DKIM or DMARC record isn't verified yet. Check the domain's page in the dashboard.
  • An address isn't in Desk. Add it in the dashboard, then Settings → Connect addresses, and give people access under Users.
  • "That code didn't work". Authenticator codes depend on the time: make sure your phone sets its clock automatically.
  • Locked out. Use a recovery code, or ask an administrator to set a new password or reset your two-step verification under Settings → Users.

Next