title: How to inject a draft message into Thunderbird from another program?
body: <p>I have my own application which generates messages to be saved in the <strong>Drafts</strong> folder of Thunderbird. Actually, I just append to the <strong>Drafts</strong> file, but it doesn't seem right to open a file Thunderbird already has opened. </p>
  
  <p>As a result, Thunderbird doesn't realise that there are new messages in the <strong>Drafts</strong> folder, and of course the <strong>Drafts.msf</strong> file isn't current. After closing and restarting Thunderbird, the new messages show.</p>
  
  <p><strong>My question is now:</strong> Is there a better way to provide drafts to users? Just triggering Thunderbird to re-read the <strong>Drafts</strong> file and rebuild the .msf index would be fine, I think.</p>
  
  <p>Right now I am doing this on Linux, is there anything specific if I want to do the same on Windows?</p>
  
  <p>I don't want to use the <strong>-compose</strong> on the command line, because it would open too many windows when I insert a lot of draft messages.</p>