Improve error reporting

This is the sort of job that I normally leave until something stops working and I can't work out what the error is.

This time I have set up the tweet engine script to email me if a scheduled Tweet fails to post, and include the details