Yale smart alarm email notification

Hi,
I have a yale smart alarm system and would like to trigger an action in home assistant if it’s;
Fully arm
Home arm
Disarm

I can see Yale will send out a email like

An event has been detected by your alarm:

2018-06-13 19:00:58 Area:1 User:9 Home Arm from Account:xxxxx

Is there anyway to achieve this?

It doesn’t look like Yale is a supported component yet I’m afraid.
You could try to have a look at IMAP Email Content component but I have no idea. experience of it:

Thanks I tried this but the email appears as a large string of text and number