/**
 * Generated by orval 🍺
 * Do not edit manually.
 * messages API
 * This is the messages API schema.
 * OpenAPI spec version: 1.0.0 (v1.0)
 */

/**
 * Serializer for importing messages from IMAP server via API.
 */
export interface ImportIMAPRequest {
  /** UUID of the recipient mailbox */
  recipient: string;
  /**
   * IMAP server hostname
   * @minLength 1
   */
  imap_server: string;
  /**
   * IMAP server port
   * @minimum 0
   */
  imap_port: number;
  /**
   * Email address for IMAP login
   * @minLength 1
   */
  username: string;
  /**
   * IMAP password
   * @minLength 1
   */
  password: string;
  /** Use SSL for IMAP connection */
  use_ssl?: boolean;
}
