email alert api test