When Emma found out that Sheriff Graham was sleeping with Storybrooke’s mayor / Evil Queen, it was meant as a foreshadow to the truth about his alter-ego.
The sheriff’s fairytale past will be revealed in an upcoming episode which will explain why he is so indebted to Regina.
In a recent interview, the show’s consulting producer Jane Espenson spilled some scoop.
“You’ll see how his interactions in the fairy-tale land [with the Evil Queen] brought him to be where he is in Storybrooke. We’ve seen the affair with Regina, we’ll see what the backstory is to establish that.”