Remove unused function compose_mail()