Added test coverage and primitive sending of plaintext+html email