Lees, Edward Smith, Sir, active 1812-1818, Secretary to the General Post Office in Ireland and (1832) Scotland