added conf option for email