Add authentication capability to the mail command