sendEmail static method
send an email.
Implementation
static Future<AuthResult> sendEmail(String email, String channel) async {
Map map = {};
map.putIfAbsent('email', () => email);
map.putIfAbsent('channel', () => channel);
final Result result = await post('/api/v3/send-email', jsonEncode(map));
return AuthResult(result);
}