Reply-by-email support
GitLab uses mail_room
gem to idle on IMAP connections and perform necessary actions when an email is received. We use it with sidekiq (and redis), so when an email is received, it is pushed to a sidekiq queue and it is handled by a sidekiq worker as needed.
In the context of charts, we prefer mail_room not to scale up along with out unicorn/sidekiq services and hence prefer it to be a separate component. Research needs to be done to
- Confirm if it requires to share file system with sidekiq (similar to how unicorn and workhorse needs to share FS).
- Check if it can be separated to a different chart/deployment with its own image.
- If it does require shared FS, see if it can be containerized and ran as a separate container in the same pod as of sidekiq.
Edited by Balasankar 'Balu' C