TMail and logger

Hello,

I’m the creator and ror developer of vipc.it, a photographic
competition that works pretty well.
I’ve created different releases and implemented different techniques
to collect entries, from simple http to flex upload to manage big
files (up to 5/6 mb), but every solution always had disadvantages:
unresponsive server, user from many countries with old computers
(problem with flash ect)…
So I’ve just finished a script to grab emails and decode entries from
Gmail and it works good, but there is way too much logger information
for each image (by TMail I suppose): aprox 20,000 lines for a small
300KB entry…

Content-Disposition: attachment; filename=10D_28-70L.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAPAAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoKDBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxsc
Hx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f
Hx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgBnQH0AwERAAIRAQMRAf/EALgAAQACAwEBAQEAAAAAAAAA
AAAEBQIDBgEHCAkBAQEBAQEBAQAAAAAAAAAAAAABAgMEBQYQAAIBAwIDBQQGBwYDBgYDAQECAwAR
BCEFMUESUWEiEwZxgTIHkaGxQiMUwdFSYnIVCPDhgpIzJKJDU/GywoNEFtJjc5M0JWSUFxgRAQEA
AQMDAgMGBQQBAwUBAAABESExAkFRA2EScYEE8JGhMhMFscHRIkLh8RQGUqIjQ2JyM2MkJf/aAAwD[…]

how can I limit this ?