update pom for email function.