started using mail library. Actually downloads files now. Quick and dirty."