# inmail_credit_planner

Elixir library and Mix task. Plan LinkedIn InMail credits from your own numbers: at your measured reply rate, how many credits does a reply target need, how many months does your allowance take, and what do the extra credits cost. No LinkedIn limits or prices are built in; you supply them.

Part of the [OneGTMLab](https://www.onegtmlab.dev) free GTM tools. Background on the idea: [LinkedIn InMail](https://www.onegtmlab.dev/glossary/linkedin-inmail).

## Install

```
{:inmail_credit_planner, "~> 1.0"}   # in mix.exs deps
```

## Use

Options: --reply-rate (0 to 1), --replies wanted, --monthly-credits you have, optional --credit-price per extra credit.

```
$ mix inmail.plan --reply-rate 0.18 --replies 40 --monthly-credits 50 --credit-price 10
reply rate            18.0%
replies wanted        40
credits needed        223
monthly allowance     50
months on allowance   5
extra credits, month 1  173
extra cost, month 1   1730.00
```

## Test

```
mix test
```

Offline, no network calls, no dependencies beyond the language runtime. MIT licensed.
