[Documentation](https://groundhogg.io/documentation/) » [Action Hooks](https://groundhogg.io/documentation/#doc-action-hooks)

# groundhogg/templates/email/head

Published Wednesday, June 10, 2026 · Last updated Wednesday, June 10, 2026

Fires inside the `<head>` of every Groundhogg email template. Use this to inject custom `<style>` blocks that should appear in all outgoing emails.

```

do_action( 'groundhogg/templates/email/head' );
```

This hook has no arguments.

## Example

```

add_action( 'groundhogg/templates/email/head', 'my_extension_add_email_styles' );

/**
 * Inject custom CSS into the head of all Groundhogg emails.
 *
 * @return void
 */
function my_extension_add_email_styles() {
    echo '';
}
```
