Email Record: Threshold effects and the line shape of the $X(3872)$ in effective field theory