Improve the oauth2 sender email handling

Description

Currently when using Gmail/Outlook API, the sender email has to match the email assigned to the account configured in the provider, in other cases there will be “Delegation error” which is handled and shown to user on the UI when sending test email.

This can be improved like in the related ticket from JES.
We can automatically set user email as sender email after successful oauth authorization and for other emails add aliases.