The warning message is in regards to your iTunes library only. This includes any music, movies, tv shows, and apps purchased/downloaded direct from the iTunes store with your iPad which should now be in your iTunes library.
Emails, notes, and photos are not in your iTunes library.
20GB of photos came from where? Photos in the Camera Roll can be imported by your computer as with any other digital camera.
After transferring all iTunes content from your iPad and importing the photos from the Camera Roll, right-click on your iPad under Devices in the iTunes source list and select Back Up from the menu window provided.
Follow this by restoring your iPad with iTunes from your iPad's backup. After the backup is restored, select Sync Apps under the Apps tab and the same for music under the Music tab for your iPad sync preferences with iTunes making your selections below these tabs followed by a sync to re-transfer your selected iTunes content - namely the apps. As long as the email account is an Exchange or IMAP account, all email should remain on the server.