fix(mail): correct link to documents in cli mode (closes #4639)