Main server.
Changing email type.