nextcloud / mail

💌 Mail app for Nextcloud
https://apps.nextcloud.com/apps/mail
GNU Affero General Public License v3.0
830 stars 257 forks source link

Add backend provider mechanism (Decouple from just IMAP) #8782

Open ksainc opened 1 year ago

ksainc commented 1 year ago

Is your feature request related to a problem? Please describe.

Lack to support for other transport protocols.

Describe the solution you'd like

What I would like to discuses with you is the possibility of, somehow integrating a backend provider mechanism in to the Mail app, where the app and transport are separate. That way one could integrate communication backends like EWS, ActiveSync, Graph, Google, IMAP, Etc.

Describe alternatives you've considered

None available.

Additional context

To give additional context, I recently created a EWS (Exchange Web Services) integration module that connects to Calendar, Contacts, and Tasks. The EWS protocol also supports Mail, but unfortunately the mail app seems to be hard coded for IMAP, so I was not able to also use EWS to also supply mail functionality. So the user has to configure settings multiple times and all the apps use different ways to communicate.

Here is a link to the EWS integration app.

https://github.com/ksainc/integration_ews

A mail provider back end would be very beneficial since I also plan on creating a module for ActiveSync and Graph, since about 80% of the EWS code is transferable to both those protocols.

ChristophWurst commented 7 months ago

I'll make sure this is discussed internally. Sorry for the late response.

ksainc commented 7 months ago

Hi @ChristophWurst

Thank you!

Also, I started creating the code for this, 80% done. And chance we can discuss this?

Sebastian

BloodyIron commented 4 months ago

Can we PLEASE get Exchange ActiveSync support ALREADY??? It's a very widely used protocol, and has both closed and open source options for running on mail servers. It's been battle-tested on mobile devices for actual decades. It is really way better than IMAP and POP3, and really I would want to use it for nextCloud!

mon5termatt commented 2 weeks ago

Please like @BloodyIron has mentioned make ActiveSync a thing, we are stuck with Exchange and i cant add any of our email accounts to Nextcloud.