Adding tests for EmailImpl.
Removing unnecessary Greenmail dependency.