Prevent email from being sent on user creation from API

Is there a way to prevent the welcome mail from being sent on user creation from the API? Our backend code handles user interaction and we don’t need the email to be sent.

1 Like

Hi @andreychirikba
Are you talking about the invitation emails, You're invited to join {company}'s Metabase?
Currently no, but there’s a request open about that. The workaround would be to setup a rule on your SMTP that deletes those mails before sending them.
https://github.com/metabase/metabase/issues/7677 - upvote by clicking :+1: on the first post

@flamber, thanks for your suggestion. My current workaround is to first create the user with a non-existent email address and then update it with a real one, this solves it for now. (Have upvoted the issue though.)