add curl email class