Page 1 of 1

Oauth2 mail for problem jobs?

Posted: Tue May 05, 2026 2:18 pm
by billy.olvestad
Microsoft is soon closing down SMTP for mail sending, and while it is possible to use other SMTP services to send mail, I would like to use OAUTH2 instead for sending reports of problem jobs.

It is right now not possible to do that in the Switch settings.

A feature request has been sent to change this, but in the meantime I would like to fix this by attaching a flow branch to the problem jobs folder and add a "Mail Send with OAuth2.0" at the end to send the report that way.

The only problem is that when the job moves out of the problem jobs folder, you can no longer retry the job.

I can get information about the failed job, the fail message, the module the fail happened at and so on, but I can't find the path to the folder the file was in when the fail occurred.

I would like to have that path so that I can send the job to that path for a retry.

Is it possible to get this path after the file has moved out of the problem jobs folder?
Has anyone solved this another way?

Re: Oauth2 mail for problem jobs?

Posted: Tue May 05, 2026 2:47 pm
by jan_suhr
You can use the Get Switch log message app to solve this.
It will just need one flow with this app and your mail send element.

This app read the log messages and you can filter what messages the app should send to you.

https://www0.enfocus.com/en/appstore/pr ... g-messages