CalTrain http://www.caltrain.com/ ends at 4th and Townsend, then can walk or bus or cab to Mission. CalTrain meets BART at Milbrae (by SFO); BART runs under Market, which is parallel to Mission by one block. Google maps has a public transportation option.