Bot Accounts get created with email notification of Immediately
#15921
Labels
Area/Toolkit
Plugins and integrations framework
Difficulty/1:Easy
Easy ticket
Good First Issue
Suitable for first-time contributors
Hacktoberfest
Help Wanted
Community help wanted
Tech/Go
Server
When a bot account is created the email notifications are set to
immediately
. Depending on server config, this makes sense for other accounts but, bot accounts should have this set to never. Because bots have token email addresses, every time someone DMs a bot, it will cause a bounce-back on the corresponding mail server.This was reported by a community member here #15769
Steps:
Enable Email Notifications:
to trueEnable Email Batching:
to falseNotifyProps
in the Users table for the bot you just createdObserved:
email":"true
and there is no way to change it via the UI as the bot cannot login. The mail server will now attempt to deliver notifications for DMsExpected: When a Bot is created or a user is converted to a bot, set email notifications to
never
or some other solution that prevents Mattermost from trying to send out email notifications when the user is a bot.If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-29374
The text was updated successfully, but these errors were encountered: