For RunCloud, ServerPilot, Ploi, Forge, Cloudways, CloudPanel and your own servers

Your panel runs
the sites. We run
the email.

Server panels run your sites well and leave email to someone else. GhostParse gives your domains mailboxes in your own encrypted webmail on your own server, receives email for your apps, and sends from your sites so it reaches the inbox. One account for all of it, instead of a sending service plus paid mailbox seats.

Desk 1.43.1 · PHP 8.1+ and MySQL · installs with one command over SSH

Desk's inbox: folders on the left, conversations in the middle and an open email on the right.
What you get

Everything email, beside the sites you already run.

Mailboxes for your domains

info@, support@ and everyone's own address, read in a fast webmail that installs on phones and computers like an app. It runs on the server you already pay for, with the mail encrypted in your own MySQL database.

Your sites' email reaches the inbox

Contact forms, order emails and password resets are sent signed for your domain with SPF, DKIM and DMARC. Use the WordPress plugin, the Laravel package or the API. No SMTP server to look after.

Email into your apps

Email to any address can arrive at your app as a signed webhook, with the attachments and the reply text pulled out, or as data from a parser.

Bring your old email

Moving from Google Workspace or Microsoft 365? Sign in with Google or Microsoft in Desk, choose the folders, and it's copied across, keeping read and starred marks.

DNS done for you

The dashboard shows the records for each domain and checks them. If your DNS is at Cloudflare, it adds them for you.

Made for agencies

Look after clients' sites? Give each client their own account under yours, with your brand on their dashboard, and manage them all with the reseller API.

New: Files and a private vault

Documents and folders, like OneDrive, in the same webmail and on the same server, so there's no Dropbox or Google Drive bill for the team. Share a folder with a colleague or everyone on support@, send a client a link with a password and an expiry, or let them send files in. Every file is encrypted with its own key on your disk or in any S3-compatible bucket (S3, R2, B2, Wasabi, Spaces, MinIO), and each person gets a private vault encrypted in their browser that only they can open. Included on every GhostParse plan, including Free.

New: documents and spreadsheets, edited together

Word, Excel, CSV and text files open from Files in an editor in Desk, and the whole team can work on one at once, live, with each person's cursor, comments and version history. It's plain PHP and JavaScript, the same as the rest of Desk, so there's no document server, Docker container or extra port to run. Files are saved as real .docx and .xlsx, so they still open in Word, Excel and LibreOffice.

Install guide

Desk on your server in about ten minutes.

1. Set up your domain

Create an account and add your domain in the dashboard. Add the DNS records it shows you, or let it add them at Cloudflare. Then, under Addresses, create the mailboxes you want, such as you@ and info@.

2. Make a site for Desk

In your panel, create a new PHP site on a subdomain such as mail.example.com, with PHP 8.1 or newer. Point the subdomain at the server (an A record), and turn on its free SSL certificate. Then create an empty MySQL database and a user for it. Where to find these in your panel.

3. Make the install command

In the dashboard, open your domain and choose Install Desk over SSH → Make the install command. You get two lines to paste, with a one-time setup code in place of an API key and signing secret:

curl -fsSLO https://ghostparse.com/install/webmail.sh
sh webmail.sh --dir=/path/to/the/site/folder --url=https://mail.example.com --code=wms_…

The code works once, for an hour. It gives Desk its own API key, which you can see and revoke under API keys, and connects your domain's addresses.

4. Run it over SSH

Sign in to the server over SSH as the site's user (the panel shows it). Change --dir to the new site's folder, and run the two lines. The installer checks the server's PHP, downloads webmail 1.43.1 and checks it against its checksum. Then it asks for the database and your own password, nothing else. Passwords are typed unseen and never land in your shell history. Then it installs, and checks that the web server keeps Desk's code and settings private.

  • The folder should be empty. A placeholder page the panel put there is moved aside. If anything else is there, it asks first.
  • If the install fails, the folder is put back as it was, the key the code made is revoked, and it tells you why.
  • Open Desk's address, sign in, and set up two-step verification. Your mailboxes are there, and new email arrives straight away.
  • To update, run it again with the same --dir. Your settings are kept.
  • No setup code? Leave out --code, and it asks for an API key (with the send and domains scopes) and the signing secret from Inbound webhook.
  • For scripts: --yes asks nothing, taking secrets from WEBMAIL_DB_PASS, GHOSTPARSE_API_KEY, GHOSTPARSE_WEBHOOK_SECRET and WEBMAIL_ADMIN_PASSWORD. sh webmail.sh --help lists every option.

5. On nginx alone, add the privacy rules

Apache and LiteSpeed read Desk's .htaccess files, which keep its code, settings and stored files private. nginx on its own doesn't. If the installer finds those files reachable, it prints these rules for the site's nginx configuration (with the folder in the paths if Desk isn't at the site's root):

location ~ ^/(app|storage|tests|vendor)/ { deny all; }
location ~ ^/(config\.php|config\.php\.tmp|setup-preset\.php|install-cli\.php|\.user\.ini|README\.md)$ { deny all; }
location = /sw.js { add_header Cache-Control "no-cache"; }
client_max_body_size 48m;

Add them, reload nginx, and run the installer again with the same --dir to check.

6. Send from your sites

WordPress: install the GhostParse plugin and choose Connect. Laravel: composer require wildye/email-parser-laravel. Anything else: the API or an SDK. Your server can then stop sending email itself.

Your panel

Where things are.

Panels move things around from time to time. If something here doesn't match, the installer still checks everything, and tells you what's missing.

PanelThe site's folder (for --dir)nginx rules (step 5)
RunCloudCreate a Web Application with a custom PHP stack. Its folder is under /home/<user>/webapps/. Databases are on the server's Databases page.Not needed with the NGINX + Apache2 hybrid stack. With native NGINX, add them in the web app's NGINX config.
ServerPilot/srv/users/<user>/apps/<app>/public. Create the database in the app's Database tab.Not needed, as Apache reads the .htaccess files.
Ploi/home/ploi/<domain>/public (the site's web directory). Databases are on the server's Databases tab.Needed. Add them in the site's NGINX configuration.
Laravel Forge/home/forge/<domain>/public (the site's web directory). Databases are on the server's Database tab.Needed. Add them with Edit Nginx Configuration on the site.
CloudwaysA Custom PHP application's public_html folder. The database comes with the application, and its details are under Access Details.Not needed, as Apache reads the .htaccess files.
CloudPanelA PHP site's /home/<site-user>/htdocs/<domain>. Databases are on the site's Databases tab.Needed. Add them in the site's Vhost editor.
Your own serverAny folder your web server serves over HTTPS, with PHP 8.1+ and MySQL 5.7+ or MariaDB 10.3+.Needed on nginx, not on Apache or LiteSpeed.
Questions

Frequently asked questions

Does it run a mail server on my server?

No. GhostParse receives and sends the email. Your server runs Desk, a PHP app like any other site, with no mail server, open ports or cron jobs to look after. Email arrives at Desk as signed webhooks.

What does it cost?

Desk and installer are free. Email sent and received counts towards your GhostParse plan, and copying in your old email doesn't. Pricing.

Can I use Outlook, Apple Mail or my phone's mail app?

Desk installs on phones and computers like an app, with notifications for new email and sign-in with Face ID or a fingerprint. It doesn't offer IMAP for other mail apps.

I'm moving from Google Workspace or Microsoft 365. What about my old email?

In Desk, open Settings → Import email and sign in with Google or Microsoft (or use an app password). Choose the folders and it copies them across. Then point your domain's mail at GhostParse, and a day later choose Check for new mail to catch anything that arrived in between.

Where are files from Files kept?

On your server, in Desk's storage/files folder (the nginx rules above keep it private), or in an S3-compatible bucket you choose under Settings → Files, which can also move existing files across. Every file is encrypted before it's stored, so the disk or bucket only holds unreadable data. Back up Desk's database and config.php with them, because the keys are there.

I run my clients' sites. Can each client have their own?

Yes. Each client can have their own account under yours, with your brand on their dashboard and invitations. Install a webmail for each client's domain, with a key from their account. Email us to turn on reseller features.

Is the installer safe to run?

Read it first if you like. It's a plain shell script, and curl -fsSLO saves it without running it. It changes nothing until every question is answered, and it checks the setup code first. It only writes to the folder you give it, never asks for root, and puts the folder back if the install fails. The download is checked against its SHA-256 checksum, 8fba826890192a5efba5a48cae73cac817adbc6686eae9bc0f1ee05fcfa6e807.

On cPanel instead?

Use Connect cPanel in the dashboard to install Desk for you. Hosting companies can install the cPanel & WHM plugin.

Email for the sites you already run.