email architecture and