Regioselective C-H amination of free base porphyrins via electrogenerated pyridinium-porphyrins and stabilization of easily oxidized amino-porphyrins by protonation.