Need command to capture word from shell script and send email

Hello Experts,

Greeting to all of you.

I have a requirement, that we have a shell script status.sh
that check the status of server and server status shows as status.sh

Enterprise Server - Running
Admin Server - Shutdown

Requirement is like whenever the output shows shutdown it should pickup the status and send an email to desire destination.

Just want to know feasibility, that it can be possible to achieve or not.

Sorry I am not very much master of Unix.

I tried to search on google but not getting the exact requirement that how to capture the word from the output of shell script on runtime.

Thanks & Regards,
Abhi

Do you have the status.sh working?
What is its output when it finds Running? And when it finds Shutdown?

What keeps you from running grep on the output and using its exit code to decide on sending the e-mail or not?