Fix email base document source