fix(mail): correct link to documents in cli mode (refs #4637)