Created ajax based widget for reading/writing emails