init and send email works