update image urls for emails