Added email preview functionality.
Further GUI improvements.