It does learn some metadata: the endpoints of the messages (unless you use Tor) and the number of bytes in those messages.