updated for mail reading with rounded corners