Mailgun magnificient API

I am working on the Mailgun assignment and have successfully run the code and getting the results but during execution of code it gets sensor value and print making request to mailgun to send email and it prints response that MAILGUN MAGNIFICIENT API and iam not recieving any email event though i have removed json code

can you share the code part and mailgun api part

yeah for sure thank you for your response.

In the send_email function, please check the name of the variable sensor_value. Check if that solves your problem.