I wanted to use different sendemail.py for different alerts as different formatting is required. How can I point these python file from my search command to use that particular sendemail.py for the particular alerts.
There is only one sendemail.py, as it is the functional part of the sendemail
command. If you need different behavior, duplicate the command and make your custom changes to the dupe.