use conf in send_mail