[Bug] Mailer Responder is checking for recipient tags starting with "mail:"
Describe the bug The Mailer Responder checks the tags list for the recipient mail address. In line 43 it checks for tags starting with "mail:" but with TheHive 4.0 the tags are using equal signs and not colons: "mail=" When using colons instead of equal signs in TheHive 4.0 it's automatically converted into an equal sign.
To Reproduce Steps to reproduce the behavior:
- Configure Mailer 1.0 Responder
- Create Case
- Create Tag: "mail:[email protected]"
- Start Responder Mailer for this case.
- Check Result of Responder for Error Message: recipient address not found in tags
Expected behavior Normally the email tag should be detected by the responder python script.
Complementary information
Before clicking on the green hook:
After clicking:

Work environment
- Cortex version: 3.0.1-1
- TheHive version: 4.0.0-1
- Cortex Analyzer/Responder name: Mailer
- Cortex Analyzer/Responder version: 1.0
Possible solutions Change Line 43 from
t.startswith("mail:")
to
t.startswith("mail=")
Additional context Could not test with TheHive 3.x.
see pull rquest https://github.com/TheHive-Project/Cortex-Analyzers/pull/848
any solutions to this so far?
The pull proposed by @jan4401 is working. At the moment has been just merged in develop but you can test it.