This script determines whether a given webpage is available, and optionally sends an email alert upon failure or unexpected content (e.g. http error).