Feature #3870 Email API