How CDC Employee Survived Terrifying Attack at Mali Hotel

She said, "I emailed my husband a second time and I said, 'I love you.'"

"I had my hand on the door to go out, I heard a spray of definitely gunfire," Fazekas told ABC News today. "I knew immediately."

Fazekas barricaded the door and called for help, asking a friend to notify the diplomatic Regional Security Officers.

Once in touch, they agreed on a series of knocks that would serve as a code so that if they were able to reach her, she would know it was safe to come out.

"At one point I hear gunshots in the hallway and there were people checking doors and knocking lightly," Fazekas said. "And I knew that the cavalry wouldn't come in on a light knock.

"I just knew that I wasn't touching that door until I got that code," she said.

Asked if she ever thought she would be killed, Fazekas insisted she was optimistic throughout and knew "in my heart of hearts I'm going home."

But just in case, she sent an email on her BlackBerry to her husband in Atlanta.

"When the gunfire was going down the hallway, I emailed my husband a second time and I said, 'I love you,'" Fazekas said. "'If this doesn't turn out right, I love you and let people know.'"