yet this is incomplete as with Im[z] > 0 one gets a compact expression using the well-known Faddeeva function (pervasive in plasma physics among numerous other fields). The expected result is:
-I Pi w[z]
with w[z] the Faddeeva (or Kramp) function.
Mathematica 13.0 boasts having all Ambarowitz and Stegun functions on board (formula 7.1.3). Unfortunately I do not see this well-known function as a Mathematica primitive. It is implemented in MATLAB or Octave, though.
Or did I miss something?
This can be simplified by hand into a Faddeeva/Kramp expression, yet the solution given is this time incomplete, and the complete solution must be obtained by integrating with or without the assumptions / principal value condition.
This leads me to a feature proposal: implement the Fadeeva/Kramp function.
the expected result follows straightforwardly for Im[z] > 0.
Edit:
For plotting and computation, I just found a Resource function contributed by Jan Mangaldan here: https://resources.wolframcloud.com/FunctionRepository/resources/FaddeevaW/
Being a resource function, it will not be used by the core symbolic integration engine.