Intake of coffee was associated with an increased risk of nonfatal MI only among individuals with slow caffeine metabolism, suggesting that caffeine plays a role in this association. ... The purpose of this study was to determine whether CYP1A2 genotype modifies the association between intake of caffeinated coffee and risk of nonfatal MI.
https://jamanetwork.com/journals/jama/fullarticle/202502
A more recent (2015) report has this conclusion w/r/t CVD:
Consistent observational evidence indicates that moderate coffee consumption is associated with reduced risk of type 2 diabetes and cardiovascular disease in healthy adults. In addition, consistent observational evidence indicates that regular consumption of coffee is associated with reduced risk of cancer of the liver and endometrium, and slightly inverse or null associations are observed for other cancer sites.
https://health.gov/dietaryguidelines/2015-scientific-report/...
This NYT article summarizes and links to a bunch of studies:
https://well.blogs.nytimes.com/2016/07/12/for-coffee-drinker...
BTW, if you've used 23andme, it should have your CYP1A2 genotype.