Creating Google Sheets Functions [closed]

I do not know coding, and I’m struggling to put together something I need in Google Sheets. I want to create a function that automatically emails me based on the text in a cell. For example, if a cell states “Maintenance Needed” I want it to email me a short message.

I’ve looked up a few basic things, but I have no clue on how to customize it for my purposes.