This only works if every user is in the same Google Workspace domain as the developer. External users will still see the full warning.

"oauthScopes": [ "https://www.googleapis.com/auth/spreadsheets.currentonly", "https://www.googleapis.com/auth/gmail.compose" ]

This will revoke the script's permission to access your account, effectively stopping it from running.

The message “This application was created by a Google Apps Script user” is Google’s way of enforcing security transparency. You cannot “hack” or “trick” the system into removing it. The only legitimate methods are: