update email rule for trim
add test for email rule trim and build package
update history