Can't violate the Logan Act when you're working for the president or acting at his request.
Logan Act was created to block private citizens from acting as *if* they represented (the President of) the USA (foreign policy specifically).
Such as Kerry talking to Iran after 2016.— Jaap Titulaer (@JaapTitulaer) January 30, 2020
https://platform.twitter.com/widgets.js
from http://twitter.com/realDonaldTrump
http://twitter.com/realDonaldTrump/status/1223011229033041920