Bash: Only email once if service stops

I needed a bash script that would only email me once if a process stopped on my linux box, so I put together a very simple, but effective script that:. . .