ActiveRecord::RecordInvalid: Validation failed: The provided email account is already in use.
from /opt/zammad/vendor/bundle/ruby/3.2.0/gems/activerecord-7.0.8.4/lib/active_record/validations.rb:80:in `raise_validation_error’
thats weird, its the same progress i always use
as we are using api based groups i always create an “empty email” channel, then next step would be adding a mail to it with
`EmailAddress.create(`
`channel_id: mychannel.id,`
`name: Setting.get(` `'organization'` `),`
`email: ` `"some@mail.com"` `,`
`active: true,`
`updated_at: Time.now,`
`created_at: Time.now,`
`created_by_id: 1,`
`updated_by_id: 1`
`)`
i have about 15 groups now where this process worked fine