# Help Desk Aheadworks setup guide

To set up a gateway for HDU:

1/ Example gateway using GMail:

[![image.png](https://frdocs.socalappsolutions.com/uploads/images/gallery/2025-10/scaled-1680-/QWiimage.png)](https://frdocs.socalappsolutions.com/uploads/images/gallery/2025-10/QWiimage.png)

It's recommended to enable `Delete Emails from Host`, it helps keep track when the email has been processed or not.

2/ Example gateway using Outlook: WIP

  
Behind the scenes, when cron job `aw\_helpdesk2\_process\_gateway` runs, it pulls emails and create new entry(s) in table `aw\_hd\_gateway\_email`

[![image.png](https://frdocs.socalappsolutions.com/uploads/images/gallery/2025-10/scaled-1680-/s7Eimage.png)](https://frdocs.socalappsolutions.com/uploads/images/gallery/2025-10/s7Eimage.png)

Another cron job, `aw\_helpdesk2\_process\_email` processed that email and marked it with status 1

Appendix: [https://aheadworks.com/resources/help-desk-ultimate/user-manual-help-desk-ultimate](https://aheadworks.com/resources/help-desk-ultimate/user-manual-help-desk-ultimate)