For automatically aggregating text-based messages together based on context, an apparatus for automatically identifying a topic of a reply message and associating the reply message with a conversation thread based on the topic is disclosed. The apparatus may include a processor and a memory that stores code executable by the processor, including code that identifies a messaging conversation between two or more messaging devices, code that determines a topic of a reply message in the messaging conversation, and code that associates the message with a conversation thread based on the topic. In one embodiment, the apparatus examines active applications on a messaging device composing the message and determines the topic based on the active applications. In one embodiment, the apparatus identifies an unanswered question and determines whether the reply message answers the unanswered question. A method and computer program product also perform the functions of the apparatus.