new encoding support for emails