Michelle,
I was getting an error at this line, I suspect because my system didn't have a "mail" directory. See if you can use something like the os.mkdir function so that it's runnable the first time through. Hint: mkdir will throw an error if there already is a directory with the given name so you'll want to use a try/except block.