I am trying to implement the elementary report and...
# community-support
g
I am trying to implement the elementary report and need some help how i can achieve notification of the elementary report in an email. I have s3 bucket and there is a lambda written on top of it to send email whenever there is a create object event. I am able to send the html as an attachment. However I’m unable to embed it inside the email. How can I do that??? Or is there any other way that i can send a snippet of today’s test runs and ask the team to open the html report attached to view more results
o
Hey @Gautam Matta, just to make sure i understand your pipeline: You run
edr send-report
to upload the report html file to your s3 file, then a lambda that is triggered by the insertion of the report, and sends a mail to your team, correct? If that is the case, firstly i would suggest not to attach the html file to the mail, as this file can be quite heavy, and may fill up your mailboxes pretty fast, instead i recommend adding a link to your s3 to the mail. Regarding sending a snippet of todays test runs, we do have something similar to this implemented in slack, when you send a report to slack it also adds a small summary of failed/warning/passed tests, tho such a thing is not supported currently for s3/email.