Describe the solution you'd like
Would it be possible to allow generic configuration of mail_fields so that additional new fields for what ever fetchmail provider can be supported in the future without further changes to this module.
Describe alternatives you've considered
Since additional fields are not supported the alternative appears to be to disable mail_environment
Additional context
Microsoft is deprecating basic authentication at the end of this year.
Closing out since we are going the direction of just installing the fetchmail_outlook for lower environments since oath technically does block access at the url level.
Fetchmail for Microsoft has some additional fields that need supported in order to utilize mail_environment in conjunction with fetchmail_outlook.
https://github.com/odoo/odoo/blob/14.0/addons/fetchmail_outlook/models/fetchmail_server.py#L12
Describe the solution you'd like Would it be possible to allow generic configuration of mail_fields so that additional new fields for what ever fetchmail provider can be supported in the future without further changes to this module.
Describe alternatives you've considered Since additional fields are not supported the alternative appears to be to disable mail_environment
Additional context Microsoft is deprecating basic authentication at the end of this year.
https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online