Duff-Man says...your Safari stuff is in home/library/safari (look for bookmarks.plist to be specific)..and your mail stuff is in home/library/mail.
I would suggest that if you are going to reformat that you just back up your whole home folder as there are other things in there you'll probably want....oh yeah!