Wrap your element in a container like here:
$form['frame'] = ['#type' => 'container', '#attributes' => ['class' => ['container-inline']]];
$form['frame']['e_mail'] = [
'#type' => 'email',
'#title' => $this->t('EMail'),
];
Wrap your element in a container like here:
$form['frame'] = ['#type' => 'container', '#attributes' => ['class' => ['container-inline']]];
$form['frame']['e_mail'] = [
'#type' => 'email',
'#title' => $this->t('EMail'),
];