20. The one or more devices of claim 17 , where the one or more processors are further to: generate the search query based on the user profile.
17. One or more devices comprising: one or more processors to: obtain search results that are relevant to a search query, the search query being: generated by the one or more processors, or received from a first user, the search query not being generated by the one or more processors when the search query is received from the first user; refine the search results based on a type of an application used by a first user to compose a message to a second user; provide the refined search results to the first user, the refined search results being provided via a first region of an interface when the search query is generated by the one or more processors, and the refined search results being provided via a second region of the interface when the search query is received from the first user, the second region being different from the first region, and the first region including a button that, when selected by the first user, causes the first region to be removed from the interface, the search query not being generated by the one or more processors when the button is selected, a selection of a particular one of the refined search results causing data associated with the particular one of the refined search results to be incorporated into a message to a second user, the data including: a link to a document associated with the particular one of the refined search results, and a snippet that includes a portion of text from the document, the portion, included in the snippet, being selected from the text included in the document based on a content of the message and a user profile associated with the first user, the user profile being determined based on at least one of a prior search associated with the first user, or information provided by the first user, and the particular one of the refined search results being associated with a geographic location; receive, from the second user, a request to access, via the link, information associated with the particular one of the refined search results; and provide, to the second user, the information associated with the particular one of the refined search results, the information including a web page presenting a map of the geographic location relative to a geographic location of the second user.