We analyse the role of Euler summation in a numerical inversion algorithm for Laplace transforms due to Abate and Whitt called the EULER algorithm. Euler summation is shown to accelerate convergence of a slowly converging truncated Fourier series; an explicit bound for the approximation error is derived that generalizes a result given by O'Cinneide. An enhanced inversion algorithm called EULER-GPS is developed using a new variant of Euler summation. The algorithm EULER-GPS makes it possible to accurately invert transforms of functions with discontinuities at arbitrary locations. The effectiveness of the algorithm is verified through numerical experiments. Besides numerical transform inversion, the enhanced algorithm is applicable to a wide range of other problems where the goal is to recover point values of a piecewise-smooth function from the Fourier series.