Important: Google deprecated the "Allow less secure apps" setting in May 2022 and is phasing it out. Follow these steps:
- Enable 2-Step Verification for the account.
- Generate an App Password at https://myaccount.google.com/apppasswords (more information: https://support.google.com/accounts/answer/185833).
Setting up incoming mailboxes
- In the helpdesk app, click the Administration tab, click Email settings, then click Edit incoming mailboxes.
- On the Email servers screen, scroll to Add a new mailbox and enter:
- Server type: IMAP
- Server hostname: imap.gmail.com
- Port: 993
- Login: your email address
- Password: your App Password
- SSL: Checked
- (Optional) Category: specify where new messages from this address will be delivered
- Click Add mailbox.
- Repeat steps 1–3 for each account you need to add.
Setting up outgoing email server
- Under the Administration tab, click Email settings.
- On the Email settings screen, scroll to SMTP server settings and enter:
- SMTP server address: smtp.gmail.com
- SMTP server port: 587 or 465
- SMTP server requires authentication: Checked
- SMTP username: your username
- SMTP password: your App Password
- Use SSL/TLS to connect to the SMTP server: Checked
Notes:
- Ensure the SMTP server allows sending messages with the From address you configured.