Settiing up mail setup globally with database dependencies

Hello,

I’ve taken a brake for a few weeks and now coming back to a project where my old (pre-global settings introduction) mail setup doesn’t show options:
image

After doing some research, I see I need to go to the global settings and edit there, which I do, and I find my old dependencies to database calls that I need to alter, but when I do, I don’t find any ‘global’ datasources and the logic that I had where I queried the database first to find the smtp properties and then apply it to the mail step, is completely broken:


What is the best practice/way to add dynamic data to the mail setup step on the global panel?
Thanks and happy new year to all.

Community Page
Last updated: