TL;DR:
What’s the plan for the Mail system (mail, mail_server, mail_agent) in 2025? Will they be further integrated, or become more discreet? Deepening the mail capabilities/integration of ERPNext could have significant implications for what’s possible with the system. I love the recent progress, and hope it stays on the roadmap.
Note: After writing the rest of this, it occurs to me that, aside from the installation methods themselves, most of this can be chalked up to documention trailing development – which is to be expected.
Backstory {feel free to skip this}
I’m new to Frappe/ERPNext after starting with open source SugarCRM before the SuiteCRM fork became necessary. This framework definitely has a learning curve, but it mostly makes sense now – I thiiiiiiink.
I’ve spent parts of the past week testing Docker installation methods for Frappe + ERPNext + Apps. My first takeaway is it would have been much less confusing had the Easy Install Script (via Bench) method was referenced along with the main Docker Install Documentation (via Docker Compose). I saw references to easy-intall.py elsewhere, but initially had no idea it was also using Docker Compose to deploy (depending on args) essentially the same setup.
My second takeaway – in case it helps anyone else going down the Docker installation path – is that the Docker volume mounts from the documented Compose install and the Bench/script install will conflict without removing them between installs (prune, rm, etc.). That’s Docker 101, but it did take me a minute to connect the dots since they were coming from two separate github repos.
The Mail System Specifically
When attempting to add mail, mail_server, and mail_agent to the containerized Frappe + ERPNext install, things get fuzzy in a different way. Currently, Mail and Server depart from the Docker Compose path, and move to a Bench install from the CLI. Ostensibly, they could also be installed with the Easy Install Script described in the Build custom images and Deploy subheadings. Not saying that’s better or worse, just different.
What I would say is worse – at least currently – is that the only install method for Mail Agent is bare metal. At some point, will the Agent join the Frappe party and:
- Get containerized?
- Become an “App” available for Bench installs?
Background & References
There’s also a segment from this edit from the 2024 Frappeverse where @Sagar_Sharma discusses the system that’s worth watching: