|Nice knowing ya.|
It's a wound, raw and painful, but you must keep telling yourself it won't likely prove fatal to your career. What you're experiencing here is more common in academe than you might think. In fact, I was in your shoes some years ago. The specific circumstances were different, but some of what I learned then might be useful to you now, or at least provide some perspective on what you're going through.
I was sitting in a drafty cubicle one January, when I got word by e-mail—even though the search-committee chair sat in an office just one floor away—that I was not a finalist. We're sorry, the message said, but we're sure you'll be successful somewhere else.