On electron pairing in unconventional superconductors