Gmail handler handles incoming and outgoing mail for a given G Suite user.
It uses services provided by the G Suite Integration module
Incoming mail:
This module utilises the core cron, queue and event systems to handle incoming messages.
When a new message is received an event is dispatched allowing other modules/ code to subscribe and process the message in anyway necessary.