Alyssa Mastromonaco, former White House Deputy Chief of Staff for Barack Obama, shared how the at-the-time Illinois Senator once threatened to text one of Senator Tom Harkin's staffers on her behalf

The former White House Deputy Chief of Staff for Barack Obama claimed that the President once gave her dating advice in 2006 when they were on a return trip to Chicago from Iowa.

In an interview with The Times, Alyssa Mastromonaco shared how the at-the-time Illinois Senator once threatened to text one of Senator Tom Harkin's staffers on her behalf when he saw him checking her out.

'Obama turned to me and said, "Look, he was really into you. And if you don't email him, I will.",' she writes in her book about her time working with Obama called Who Thought This Was a Good Idea?.

And the up-state New York native doesn't have an idea of what the email would have entailed.

'I can only imagine,' the 41-year-old said in the interview.

Scroll down for video

'Obama turned to me and said, "Look, he was really into you. And if you don't email him, I will.",' she writes in her book about her time working with Obama called Who Thought This Was a Good Idea?

The 41-year-old first started working for Obama in early 2005 when he was a senator, working closely with Obama until he made it to the White House

'He was definitely, like, he just kept holding up his Blackberry and being, like, 'I'm going to do it. I'm going to do it."'

And Obama would turn out to be right. Mastromonaco emailed the man and the two went on a few dates.

She added: 'What people don't remember is [Obama] is only ten years older than me.'

She served as the White House director of scheduling and advance before she was then tasked with the role of deputy chief of staff for operations

'All the guys, everybody always thought it was super-funny. Most of the people were married except for [Obama's speechwriter] Jon Favreau . . . It was mostly how we passed the time.'

Mastromonaco first started working for the former president in early 2005 when he was a senator, working closely with Obama until he made it to the White House.

She was tasked with planning foreign trips for President Obama. First she served as the White House director of scheduling and advance before she was then tasked with the role of deputy chief of staff for operations.

At only 34-years-old, she was the youngest woman to hold the position.

At only 34-years-old, she was the youngest woman to hold the position

Obama had an informal style of management. He once walked in on Mostromonaco doing sit-ups on the floor in the middle of an all-night vote in the Senate. 'Most senators would have been appalled,' she writes. 'He said, 'Good for you'

By his first year in office, Mostromonaco had already planned trips to 14 countries. One of those involved a covert operation to Iraq that involved sneaking Obama out of Turkey to an airbase on the outskirts of Baghdad using a plane switch-up. That plan was only partially foiled by a sandstorm that forced the group to take a motorcade.

But she notes that Obama had an informal style of management. He once walked in on Mostromonaco doing sit-ups on the floor in the middle of an all-night vote in the Senate.

By his first year in office, Mostromonaco had already planned trips to 14 countries. One of those involved a covert operation to Iraq that involved sneaking Obama out of Turkey to an airbase on the outskirts of Baghdad using a plane switch-up. That plan was only partially foiled by a sandstorm that forced the group to take a motorcade

'Most senators would have been appalled,' she writes.

'He said, 'Good for you.'

But the true person in charge of the White House was first lady Michelle Obama.

'She's the boss,' Mostromonaco said.

'If he was mad at you for any reason, you'd be, like, "OK." If she was mad at you . . . if you thought for some reason she might be, you were, like, "I'm in so much trouble."'

Mastromonaco, who now is an executive at a television company, served six years in the White House where her hair turned white due to exhaustion.

Stepping down in 2014, she wanted to write a book about her time in the White House that was different than a lot of others.

It would be a 'legacy book' and act as more of a how-to-guide, helping people see 'that public service is not just for people that went to Harvard, [or] Yale'.