It is not possible to insert a link into an E-Mail because the insert link button is greyed out. My geary version is 40.0 (tags/gnome-40.0-0-ge561775c1-dirty).
This seems to be already fixed in gitlab gnome org/GNOME/geary/-/issues/1118 (Sorry can’t post links).