You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If user tags a #channel-name OR #team-name in natural language query then the recipient(s) for the email should be all the people present in #channel-name OR #team-name .
If user tags a @all in natural language query then the recipient(s) for the email should be all the people present in channel from where the query was entered by user.
Check for edge cases like when user tags @here , @app-bots (bots for applications installed workspace) , @rocket.cat etc...
use @rocket.chat/message-parser for parsing channel names, teams, usernames etc.