class MailQueueName {

    static Optional<MailQueueName> fromRabbitWorkQueueName(String workQueueName) {
        return WorkQueueName.fromString(workQueueName)
            .map(WorkQueueName::toMailQueueName);
    }

    private  MailQueueName(String name);

}