I have been having quite a lot of trouble with my T-Mobile business internet. I would like to set up a pi so that when it loses internet it sends an email, and another when internet is restored (I realize without net the outage email will not actually send, but if there is a time stamp I can at least present it to T-Mobile and say look this is a serious issue when my net is down more than it is up), and run an hourly speed test and email the results. For a novice is something like this feasible?
Yea this is a better idea than what I outlined below, unless you are seeking to learn how to do this sort of thing from scratch.
Good way to learn, but not a great idea if you want to get it working fast…