clean emails header doc