added phantomjs test, but phantom has a bug :(
do not pollute mail data transfer object