Fixed Opening an email with specific content „hangs” RainLoop in the browser  (Closes #308)
Code refactoring