Issue/508

Addresses email encoding issues related to piped emails - issue #508