You can drag and drop, or do a "Save attachment as" and save the photos to the desktop, or another folder, then drag the resulting photos over the iPhoto icon (even if it isn't open), or into it's library and it will start importing. That being said, if you are in mail, you can just drag the photos to iPhoto, or the iPhoto icon.