Don't create the e-mail attachment - it was causing a massive memory leak.