id link and html pdf mail