Electrosynthesis in flow reactors. Part 1: Anodic deprotection of nitrogen containing compounds. Part 2: Cathodic cyclisation of aryl halides