Reolink sensor in home assistant via gmail

Since reolink firmware has issues and doesnt work well with reolink integation, i did a dirty method to get the detection sensors into home assistant.

Set up reolink to send gmail alert.

Set up sensors in home assistant based on gmail inbox emails/subject.

Happy to help if anyone is interested in setting this up.

Cheers,
Megarch