# Hook \<\> Spark Email Integration

**URL:** <https://discourse.hookproductivity.com/t/hook-spark-email-integration/2239>\
**Category:** Discussion & Help\
**Created:** [November 24, 2020, 4:56am UTC](https://discourse.hookproductivity.com/t/hook-spark-email-integration/2239 "2020-11-24T04:56:30Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![kennonb](https://discourse.hookproductivity.com/user_avatar/discourse.hookproductivity.com/kennonb/32/1197_2.png) [@kennonb](https://discourse.hookproductivity.com/u/kennonb)\
**Post date:** [November 25, 2020, 11:52pm UTC](https://discourse.hookproductivity.com/t/hook-spark-email-integration/2239/4 "2020-11-25T23:52:42Z")

</div>

Ok I’m not sure why this is working for me, but this is what I’m currently using and it appears to work. I’m on Big Sur with Spark v2.9.11 and Hook 2.0.3.

### Get Name

```auto
tell application "Spark"
	if HasSelectedMessage then
		set theResult to GetSelectedMessageTitle
		return theResult
	end if
end tell

```

### Get Address

```auto
tell application "Spark"
	if HasSelectedMessage then
		set theResult to GetSelectedMessageBacklink
		return theResult
	end if
end tell

```

---

_[View the full topic](https://discourse.hookproductivity.com/t/hook-spark-email-integration/2239)._
