Mannich reaction of pyrrole and dimethylpyrrole with monoamines and diamines