while it's true that tomatoes are members of the nightshade family, they actually produce a slightly different alkaloid called tomatine. tomatine is also toxic but less so. however, when ingested in extremely large doses, it may cause gastrointestinal problems, liver, and even heart damage.