should kinda work now - added parsing and sendmail now only takes mails from queue