Has anyone implemented a ""switch"" to redirect emails in production for testing?

Has anyone implemented a ""switch"" to redirect emails in production for testing?

Hi everyone,

In our production Zoho CRM we have a fairly complex setup with multiple Blueprints and Deluge functions that send emails automatically — to managers and internal staff — triggered by workflows.

We’re looking for a way to *test changes safely*, and ideally avoid sending real emails to managers during development or internal testing.

Has anyone implemented a "switch" in production to redirect or suppress email sending based on:
- User role (e.g. if the user is not a manager),
- A custom config field or module ("Test Mode ON"),

I’ve read that in the sandbox, real emails cannot be sent (except via Deluge), and that’s fine — but we also need to simulate email behavior triggered by Blueprint transitions.

Any examples, tips, or best practices would be really appreciated!

Thanks in advance.