Text this: Electromechanics and electric machines