improvements for handling japanese emails