ok, go to your messages, and down on the left, there are two icons..click the one to the right..
and then clikc on your address book
the first thing that comes up is your friend code(online code)
and your email is w(insertyourfriendcodehere)@wii.com obviously not including the parenthesis