I actually started with that Sorky, unfortunately with almost every email program it left some kinda line like
Cyricx wrote:
At the bottom of each message, that varied by browser by settings

The only other solution I could come up with that would be 100% reliable, was the inbetween lines thing.
I think that is the most important step that I need to work this towards. 100% reliability.
You are correct though if the post is a new thread it will not do anything more then make sure there isn't any left over html hanging around.
Replies, it will make the email appear like a normal regular post when it hits the forums.
Basically, the cron job checks the headers of the email for the message id "in_reply_to". If it has the emailintegration jazz in there, it's a reply and it parses and cleans it up. If it doesn't its a new thread and it just cleans up some html.
All, just a note into where I'm at and what I've done so far

- Added option to dismiss attachments.
- Cleaned the subject line, no more [forumname-91] subject, it's now just [forumname] subject
- Completely fixed the code to work for threaded and hybrid mode by correctly setting the parentid
- Fixed the bug in the attachment system.
Current items I am working on simultaneously are:
- reformatted emails (25% done)
- enable user selectable plain or html emails, with an admin override (10%)
Other things that will make it into the next version?
Have to wait and see what comes up.