Thunderbird source code is available from the Thunderbird Portable page:
http://portableapps.com/apps/internet/thunderbird_portable