Hello @pstamati, In order to use sendemail you would need to use map command and iterate through batch of results, it is possible but more complicated. What I would suggest is use sendresults app for Splunk, than you would do: <your SPL>
| table DEVICE_TYPE VULNURABLE_COMPONENT COUNT recipient
| eval email_to=recipient
| eval email_subj="My subject here"
| eval email_body="Email body goes here"
| fields -recipient ```This to not send email as a column```
| sendresults sender="
[email protected]" showemail=f showbody=f showsubj=f showfooter=f This will combine and send results to each separate recipient. *You can also add formatting with HTML in the footer and body etc. (check doc for further info)
... View more