*/
public void prepare(RawDocument rawDocument) throws RegainException {
Properties mailProperties = System.getProperties();
Session session = Session.getInstance(mailProperties, null);
SharedByteArrayInputStream mimeInput = new SharedByteArrayInputStream(rawDocument.getContent());
Collection<String> textParts = new ArrayList<String>();
Collection<String> attachments = new ArrayList<String>();
SimpleDateFormat simpleFormat = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss");