anding in context and send mapping

mapping send to use either smtp or web, also fixing context and creating a new instance on the fly.