# Email
## Email
### Emailing Photos
Users can email photos directly from the photo booth if it has an internet connection and either a touchscreen or a keyboard to enter their email address. If an internet connection is not available at an event, email addresses can be saved and the emails sent later by selecting the offline email mode.
The simplest way to set this up is to use the [photo booth setup wizard](https://www.breezesoftware.com/help/remote-pro/setup-wizard) and then adjust the settings if required. Open **File -> Photobooth Settings** (Ctrl+S), then open **Output Settings** and click **Settings...** next to the output options, then click the email **Settings...** button.

---
### Email Content
The **Subject:** field sets the subject line text.
The message body can be written in plain text or HTML. In HTML mode, use the `{image}` token to reference the attached photo, for example:
`
`
For conditional content (e.g. video vs photo), use:
`
{if,`{isMovie}`,Your video is attached,
}
`
JPEG images and animated GIFs are embedded in the HTML message if the body contains a token referencing the image; otherwise they are attached. Videos are always sent as attachments.
Useful tokens for the subject and body:
- `%L` — long date, e.g. Wednesday, January 08, 2014
- `%l` — long date and time
- `{sharingMessage}` — optional message entered by the user at the keyboard
See the [Tokens](https://www.breezesoftware.com/help/remote-pro/remote-pro-tokens) page for a full list.
---
### Image Sizing and Cropping
The photo emailed is based on the JPEG copy of the printed output. You can crop, resize, and rotate it before sending:
- **Crop image** — set left, top, width and height in pixels
- **Max width / Max height** — resize before sending (e.g. 500 x 500 px reduces send time)
- **Image rotation** — correct orientation; set to **Same as print preview** if using print preview
The image is cropped first, then resized, then rotated.
Select **Use MP4 copy of animated GIF if available** to send the MP4 version instead of a GIF. GIFs and MP4 files are sent without resizing or cropping.
---
### Email Attachments
Click **Attachment settings...** to open the Email Attachment Settings dialog.

---
Options include:
- **Attach print layout with slideshow GIFs** — adds the JPEG print layout when emailing slideshow GIFs
- **Attach original photos** — attaches individual photos from stills mode
- **Attach processed photos (if available)** — includes processed copies
- **Attach thumbnails of photos** — adds thumbnail versions
- **MP4 video options** — MP4 only, JPEG preview only, or both
Tokens for embedding attachments in HTML email body:
- `{print_layout}` — JPEG copy of print layout
- `{photo1}`, `{photo2}` etc. — original individual photos
- `{thumbnail1}`, `{thumbnail2}` etc. — thumbnails
- `{gif}` — slideshow or boomerang GIF
- `{video_preview}` — JPEG preview of video
- `{processed1}` etc. — processed photos (when both original and processed are selected)
- `{image1}`, `{image2}` etc. — attachments by index
---
### Email Server Settings
Open **File -> Email Server Settings...** or click **Email server settings...** in the Output Settings dialog.

---
Enter the host name, port number, username and password for your email server. Select **Use SSL for secure email** for SSL connections (typically port 465 or 587). Set the **Email addr** field to the sender's email address, including name if required, e.g. `Acme Photo Booth `.
Send a test email to verify the settings. Select **Log email addresses to file** to save a CSV log of each email sent.
---
#### Using Gmail
Remote Pro v3.15 and later supports Gmail's secure OAuth method. Set **Host** to Gmail and click **GMail authenticate...** to authorise via your Google account. To switch accounts, revoke access in Google's Security settings under **Third-party apps with account access**, then re-authenticate.
> **Info**
>
> Gmail limits sending to 500 emails per 24-hour period. For high-volume events, consider a dedicated service such as sendgrid.com.
---
### In Operation
When photos are taken, the sharing screen (share.jpg) is displayed. The user taps or types **E** to select email, then enters their address via the touchscreen keyboard. From v3.16, emails are sent in the background — users do not need to wait at the sharing screen.
The **To** address is read from the first email text field in the keyboard. Additional fields are added as CC addresses. See [Touchscreen Keyboard](https://www.breezesoftware.com/help/remote-pro/touchscreen-keyboard) for details.
Keyboard shortcut: **Shift+Ctrl+S** displays the sharing screen from the ready screen.
---
### Offline Mode
If no internet connection is available, enable **Offline email mode** in Output Settings. Send queued emails later via **File -> Send emails and MMS/SMS messages...**

---
In the Sharing Status dialog, enter the base folder for photos and press **Scan** to find unsent messages. Set **Max age (days)** to limit how far back the scan goes. Enable **Scan at startup** to scan automatically each time Remote Pro runs.
To control offline mode via XML profile files:
Enable: `1`
Disable: `0`
---
Source: https://www.breezesoftware.com/help/remote-pro/remote-pro-email