set default charset of email_header_encode, add ud_flags to indicate which (directory sync) updates have been processed in some way.