Mark Cuban says the idea for his Cost Plus Drugs startup originated from a cold email.