Use Gmail to send and receive emails in Mojo
If you have a Gmail mailbox (e.g. support@newco.com), Mojo Helpdesk can retrieve emails from this mailbox and create tickets. It will also use Gmail to send emails to ticket creators and agents.
This is a step-by-step guide on how to configure Mojo and Gmail. Mojo leverages IMAP for receiving emails and SMTP for sending emails.
Prerequisites
- A Gmail account
- Two-factor authentication (2FA) enabled for your Google account
Instructions
Step 1: Enable Two-Factor Authentication (2FA)
- Open your Google Account: https://myaccount.google.com/
- Click on Security on the left navigation panel.
- Scroll down to
how you sign in to Google
and selectturn on 2-step verification
. - Follow the on-screen steps: Google will guide you through setting up a second verification step, such as:
- Google prompts: Tap “Yes” on a push notification sent to your phone.
- Verification codes: Receive a code via SMS or call.
- Authenticator app: Use Google Authenticator for one-time codes.
- Backup codes: Generate backup codes in case you lose access to your primary method.
- Once completed, 2FA will be enabled.
Step 2: Generate an App Password
An app password is a 16-character passcode that allows an app, like your helpdesk system, to access your Google account securely. To generate an app password, you must have 2-step verification enabled on your Google account.
- Open the app passwords page: https://myaccount.google.com/apppasswords
- If asked, verify your identity. Complete the two-factor authentication step (e.g., Google prompt or SMS code) to confirm your identity.
- Choose the app name. Under "app name", type Mojo Helpdesk or another option that best matches your needs.
- Generate the app password. Click Create. A 16-character password will appear in a yellow box. Copy this password—it will not be shown again.
Step 3: Configure in Mojo Helpodesk
- Navigate to your help desk
Admin > Channels > Email > Server configuration
- Click on
use my own mail server
and follow the step-by-step guide. - For receiving emails (email-to-ticket creation), enter the following details:
- Username: Your Gmail address (e.g., support@yourcompany.com)
- Password: Paste the app password you generated earlier.
- IMAP server: imap.gmail.com
- Port: 993 (SSL enabled)
- For outgoing mail settings (outbox configuration), enter the following:
- SMTP server: smtp.gmail.com
- Port: 587 (TLS)
- The system will test your setup by sending an email to your Gmail address and attempting to retrieve it. The system will confirm a successful set up.
Troubleshooting
If you encounter an issue, below are the steps to troubleshoot:
- Ensure the app password is correct.
- Verify that IMAP and SMTP access are enabled in your Gmail account.
- Check for any error logs in your helpdesk system for detailed debugging.
Was this article helpful?