api email sending test