Add tests of interaction between net and templating components.
Rename methods on resource email template.
Remove unncessary generic argument.
Refactor tests.
Move parsing of template from mail message factory to email client.