Sc_send_notification() in app with direct url

I have a Blank application that can be executed directly via a URL, without requiring login. Within the code, I use the macro sc_send_notification(). While the notification is sent successfully, the email is not delivered.

In other applications where the user is logged in, the email sends correctly to the same test user.

I suspect the issue lies in the absence of global variables when accessing without a session, such as [sett_smtp], which I tried defining manually, but the email still isn’t sent.

Does anyone know what other variables might be necessary or how to resolve this? Thank you!