Updated to support Python3. This is hugely incomplete (most likely) as I've only tested sending basic email. It should be a healthy start, however