add email feature part 1