8. A system comprising: one or more server devices to: obtain search results identifying documents that are relevant to a search query, the search query being: provided by a first user via an application used to compose a message intended for a second user, or generated based on a content of the message, the search query not being generated when the search query is provided by the first user; refine the search results based on a type of the application; provide, to the first user, the refined search results, the refined search results being provided via a first region of an interface when the search query is generated based on the content of the message, the refined search results being provided via a second region of the interface when the search query is provided by 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 when the button is selected; a selection of a particular one of the refined search results by the first user causing data associated with the particular one of the refined search results to be incorporated into the message intended for the second user, the data associated with the particular one of the refined search results including: a link to a particular document associated with the particular one of the refined search results, and a snippet that includes a portion of text from the particular document, the portion, included in the snippet, being selected from the text included in the particular document based on 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 a request from the second user 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.
8. A system comprising: one or more server devices to: obtain search results identifying documents that are relevant to a search query, the search query being: provided by a first user via an application used to compose a message intended for a second user, or generated based on a content of the message, the search query not being generated when the search query is provided by the first user; refine the search results based on a type of the application; provide, to the first user, the refined search results, the refined search results being provided via a first region of an interface when the search query is generated based on the content of the message, the refined search results being provided via a second region of the interface when the search query is provided by 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 when the button is selected; a selection of a particular one of the refined search results by the first user causing data associated with the particular one of the refined search results to be incorporated into the message intended for the second user, the data associated with the particular one of the refined search results including: a link to a particular document associated with the particular one of the refined search results, and a snippet that includes a portion of text from the particular document, the portion, included in the snippet, being selected from the text included in the particular document based on 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 a request from the second user 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. 13. The system of claim 8 , where the particular one of the refined search results relates to at least one of an image, a video, a map, or a commercial product.