Text this: New massless and massive infinite derivative gravity in three dimensions