Hi,
You can setup this with additional settings in your home manager config file:
accounts.email.accounts = {
personal = {
thunderbird = {
settings =
id: {
"mail.server.server_${id}.authMethod" = 10;
"mail.smtpserver.smtp_${id}.authMethod" = 10;
};
};
};
};
Value 10 means OAuth option and above lines set OAuth method for both in/out servers.