Expand doclink HTML elements in MAIL_TEMPLATE's body (refs #3651)