Electron transfer in confined electromagnetic fields.