Engineering the Atom-Photon Interaction